forked from pool/libmicro
5617c7c213
* lots of small changes OBS-URL: https://build.opensuse.org/package/show/benchmark/libmicro?expand=0&rev=11
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);
|