% cat test.c
#include <stdio.h>
#include <stdint.h>
int main()
{
uint8_t i;
for (i = 0; i < 0x100; i++) {
printf("%d\n", i);
}
return 0;
}
% gcc -c -Wall test.c
test.c: In function ‘main’:
test.c:8: warning: comparison is always true due to limited range of data type