diff --git a/bitcmp/bitcmp.c b/bitcmp/bitcmp.c index 2ed76d4..d4d707e 100644 --- a/bitcmp/bitcmp.c +++ b/bitcmp/bitcmp.c @@ -91,7 +91,7 @@ int main(int argc, char *const *argv) len = got1 < got2 ? got1 : got2; if (!len) break; - for (i = 0; i <= len; i += bytes) { + for (i = 0; i < len; i += bytes) { diff = 0; switch (bytes) { case 4: