Fixing integer

Making an int unsigned in for loop