forked from pool/libmicro
14 lines
337 B
Diff
14 lines
337 B
Diff
|
Index: malloc.c
|
||
|
===================================================================
|
||
|
--- malloc.c.orig
|
||
|
+++ malloc.c
|
||
|
@@ -77,7 +77,7 @@ benchmark_optswitch(int opt, char *optar
|
||
|
break;
|
||
|
case 's':
|
||
|
opts[optscnt] = sizetoint(optarg);
|
||
|
- optscnt = ++optscnt & (31);
|
||
|
+ optscnt = (optscnt + 1) & (31);
|
||
|
break;
|
||
|
default:
|
||
|
return (-1);
|