diff options
Diffstat (limited to 'include/obstack.h')
-rwxr-xr-x | include/obstack.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/obstack.h b/include/obstack.h index 38e9677..09f1422 100755 --- a/include/obstack.h +++ b/include/obstack.h @@ -417,7 +417,8 @@ __extension__ \ ({ struct obstack *__o = (OBSTACK); \ if (__o->next_free + sizeof (void *) > __o->chunk_limit) \ _obstack_newchunk (__o, sizeof (void *)); \ - *((void **)__o->next_free)++ = ((void *)datum); \ + *((void **)__o->next_free) = ((void *)datum); \ + __o->next_free += sizeof (void *); \ (void) 0; }) # define obstack_int_grow(OBSTACK,datum) \ |