Casting on warning comparisons between signed and unsigned.