The compiler may rightly warn about a comparison between an unsigned int and
an int on architectures where int is signed by default. Since the existing
code has been tested on architectures where int is unsigned, we just make
our other int explicitly unsigned, ignoring certain existing corner cases
for now wrt possible integer underflows.
The compiler may rightly warn about a comparison between an unsigned int and an int on architectures where int is signed by default. Since the existing code has been tested on architectures where int is unsigned, we just make our other int explicitly unsigned, ignoring certain existing corner cases for now wrt possible integer underflows.
Signed-off-by: Steve Langasek steve.langasek@canonical.com