diff options
author | DJ Delorie <dj@redhat.com> | 2004-07-13 21:10:23 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2004-07-13 21:10:23 +0000 |
commit | e84b534998a19f38639d15ff62fa73265b2cb42f (patch) | |
tree | 3f46b35e268bd632ee10c3c907ab61b64e34d973 /include/obstack.h | |
parent | 650bcf9d7482a9c3604877e033a2a6b5b76a07c6 (diff) | |
download | newlib-e84b534998a19f38639d15ff62fa73265b2cb42f.zip newlib-e84b534998a19f38639d15ff62fa73265b2cb42f.tar.gz newlib-e84b534998a19f38639d15ff62fa73265b2cb42f.tar.bz2 |
merge from gcc
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__ */ |