From: Richard Kenner Date: Thu, 10 Nov 1994 22:55:03 +0000 (-0500) Subject: (va_arg): Add cast to void * to suppress warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f21a9799f02214ccf0e8628cdab5f22ff18f3e9;p=gcc.git (va_arg): Add cast to void * to suppress warning. From-SVN: r8411 --- diff --git a/gcc/ginclude/va-alpha.h b/gcc/ginclude/va-alpha.h index da23988697c..f0775234822 100644 --- 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)))))