From 476b5c86e5bc21311dfb14d0f043fbf5b870781d Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Wed, 6 Jan 2016 01:48:08 -0800 Subject: get it to compile --- include/obstack.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/obstack.h') 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) \ -- cgit v1.2.3