- comparison of signed and unsigned ints
This commit is contained in:
Shav Kinderlehrer 2023-04-10 14:57:12 -04:00
parent 0d82534b09
commit d3526c4e13

View File

@ -57,7 +57,7 @@ int run(char *filename) {
lc = 0;
char pc = '\0';
for (int i = 0; i < offset; i++) {
for (int i = 0; (unsigned)i < offset; i++) {
c = buf[i];
if (pc == '\n' || i == 0) {