diff options
Diffstat (limited to 'libart_lgpl/art_misc.h')
-rw-r--r-- | libart_lgpl/art_misc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libart_lgpl/art_misc.h b/libart_lgpl/art_misc.h index 054b912dbd..de91432c5a 100644 --- a/libart_lgpl/art_misc.h +++ b/libart_lgpl/art_misc.h @@ -46,7 +46,7 @@ gpointer art_realloc(gpointer ptr, gsize size); /* This one must be used carefully - in particular, p and max should be variables. They can also be pstruct->el lvalues. */ #define art_expand(p, type, max) \ - do { if(max) { p = art_renew (p, type, max <<= 1); } \ + do { if (max) { p = art_renew (p, type, max <<= 1); } \ else { max = 1; p = art_new(type, 1); } } while (0) typedef gint art_boolean; |