fix comparison between signed and unsigned types warning