diff options
author | DJ Delorie <dj@delorie.com> | 2011-10-22 01:35:28 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2011-10-22 01:35:28 +0000 |
commit | 69680dfa6a304287a8cbed0687adca93803015f7 (patch) | |
tree | 9b2aa667a5045b79e8b68bf8cbba398bc9411328 /include/obstack.h | |
parent | 616920c0cfe11b73f1ab1e9b789f9bdc175741fc (diff) | |
download | binutils-redhat-69680dfa6a304287a8cbed0687adca93803015f7.tar.gz |
* obstack.h [!GNUC] (obstack_free): Avoid cast to int.
* ansidecl.h (ENUM_BITFIELD): Always use enum in C++
Diffstat (limited to 'include/obstack.h')
-rw-r--r-- | include/obstack.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/obstack.h b/include/obstack.h index 4aec3a484e..23487ba4f4 100644 --- a/include/obstack.h +++ b/include/obstack.h @@ -532,9 +532,9 @@ __extension__ \ # define obstack_free(h,obj) \ ( (h)->temp = (char *) (obj) - (char *) (h)->chunk, \ (((h)->temp > 0 && (h)->temp < (h)->chunk_limit - (char *) (h)->chunk)\ - ? (int) ((h)->next_free = (h)->object_base \ - = (h)->temp + (char *) (h)->chunk) \ - : (((obstack_free) ((h), (h)->temp + (char *) (h)->chunk), 0), 0))) + ? (((h)->next_free = (h)->object_base \ + = (h)->temp + (char *) (h)->chunk), 0) \ + : ((obstack_free) ((h), (h)->temp + (char *) (h)->chunk), 0))) #endif /* not __GNUC__ or not __STDC__ */ |