Przeglądaj źródła

Unparenthesized parameter in macro 'utstring_bincpy'

Francois Perrad 10 lat temu
rodzic
commit
b52afc99b4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/utstring.h

+ 1 - 1
src/utstring.h

@@ -100,7 +100,7 @@ do {                                                       \
 do {                                                       \
   utstring_reserve((s),(l)+1);                               \
   if (l) memcpy(&(s)->d[(s)->i], b, l);                    \
-  (s)->i += l;                                               \
+  (s)->i += (l);                                           \
   (s)->d[(s)->i]='\0';                                         \
 } while(0)