Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2004-07-14 01:10:23 +0400
committerDJ Delorie <dj@redhat.com>2004-07-14 01:10:23 +0400
commite84b534998a19f38639d15ff62fa73265b2cb42f (patch)
tree3f46b35e268bd632ee10c3c907ab61b64e34d973 /include/obstack.h
parent650bcf9d7482a9c3604877e033a2a6b5b76a07c6 (diff)
merge from gcc
Diffstat (limited to 'include/obstack.h')
-rw-r--r--include/obstack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/obstack.h b/include/obstack.h
index 5496ff240..007853e80 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__ */