Fixed compiler warning

signed and unsigned integer comparison