diff options
Diffstat (limited to 'include/obstack.h')
-rw-r--r-- | include/obstack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/obstack.h b/include/obstack.h index 5496ff2..007853e 100644 --- a/include/obstack.h +++ b/include/obstack.h @@ -494,9 +494,9 @@ __extension__ \ # define obstack_free(OBSTACK, OBJ) \ __extension__ \ ({ struct obstack *__o = (OBSTACK); \ - void *__obj = (OBJ); \ + void *__obj = (void *) (OBJ); \ if (__obj > (void *)__o->chunk && __obj < (void *)__o->chunk_limit) \ - __o->next_free = __o->object_base = __obj; \ + __o->next_free = __o->object_base = (char *) __obj; \ else (obstack_free) (__o, __obj); }) #else /* not __GNUC__ or not __STDC__ */ |