projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b341aa
)
(va_arg): Add cast to void * to suppress warning.
author
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 10 Nov 1994 22:55:03 +0000
(17:55 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 10 Nov 1994 22:55:03 +0000
(17:55 -0500)
From-SVN: r8411
gcc/ginclude/va-alpha.h
patch
|
blob
|
history
diff --git
a/gcc/ginclude/va-alpha.h
b/gcc/ginclude/va-alpha.h
index
da23988
..
f077523
100644
(file)
--- a/
gcc/ginclude/va-alpha.h
+++ b/
gcc/ginclude/va-alpha.h
@@
-90,7
+90,7
@@
enum {
#define va_arg(__va, __type) \
(*(((__va).__offset += __va_tsize (__type)), \
- (__type *)(
(__va).__base + (__va).__offset
\
+ (__type *)(
void *)((__va).__base + (__va).__offset
\
- (((__builtin_classify_type (* (__type *) 0) \
== __real_type_class) && (__va).__offset <= (6 * 8)) \
? (6 * 8) + 8 : __va_tsize (__type)))))