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 | 7ab9a76eac9d4999de4f37a2ce92bd324450e4d7 (patch) | |
tree | 2d5644431eccf85eac303ea0728d6a29bf5a167d /include/obstack.h | |
parent | c99b813881319e6820bb60d837515b5df9837e2c (diff) | |
download | gdb-7ab9a76eac9d4999de4f37a2ce92bd324450e4d7.zip gdb-7ab9a76eac9d4999de4f37a2ce92bd324450e4d7.tar.gz gdb-7ab9a76eac9d4999de4f37a2ce92bd324450e4d7.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__ */ |