Remove warning of comparision between signed and unsigned integer.