SHA256
1
0
forked from pool/libmicro
libmicro/removed_undefined_warning.patch

12 lines
207 B
Diff
Raw Normal View History

--- malloc.c
+++ malloc.c
@@ -77,7 +77,7 @@
break;
case 's':
opts[optscnt] = sizetoint(optarg);
- optscnt = ++optscnt & (31);
+ optscnt = (optscnt + 1) & (31);
break;
default:
return (-1);