]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | unsignedcompare.c: (in function test) | |
3 | unsignedcompare.c:5:3: Assignment of ssize_t to unsigned long int: | |
4 | res = read(fd, buffer, cnt) | |
5 | unsignedcompare.c:7:7: Comparison of unsigned value involving zero: res <= 0 | |
6 | unsignedcompare.c:12:7: Comparison of unsigned value involving zero: res < 0 | |
7 | unsignedcompare.c:12:18: Comparison of unsigned value involving zero: res >= 0 | |
8 | ||
9 | Finished checking --- 4 code warnings, as expected |