mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-22 05:53:10 +02:00
bitcmp/bitcmp.c: fixed fencepost error
This commit is contained in:
parent
08a13cd975
commit
78d9fda12f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user