fixed a "comparison between signed and unsigned integer expressions" warning