mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-22 12:21:52 +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;
|
len = got1 < got2 ? got1 : got2;
|
||||||
if (!len)
|
if (!len)
|
||||||
break;
|
break;
|
||||||
for (i = 0; i <= len; i += bytes) {
|
for (i = 0; i < len; i += bytes) {
|
||||||
diff = 0;
|
diff = 0;
|
||||||
switch (bytes) {
|
switch (bytes) {
|
||||||
case 4:
|
case 4:
|
||||||
|
Loading…
Reference in New Issue
Block a user