diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-08-14 23:03:47 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-08-14 23:03:47 +0000 |
commit | 48f606d3bec0ddb5a22c61b5fafa71caa9750a95 (patch) | |
tree | ebb45c0b015ef35ce0ac0e24d70818d8a8889fb2 /gcc/ginclude | |
parent | 7e64826fd6cc5af227017dc7602c08d10fbf2773 (diff) | |
download | gcc-48f606d3bec0ddb5a22c61b5fafa71caa9750a95.tar.gz |
(va_start): Add cast to __gnuc_va_list type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7922 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude')
-rw-r--r-- | gcc/ginclude/va-mips.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ginclude/va-mips.h b/gcc/ginclude/va-mips.h index 2f411161a16..8eeb3eac000 100644 --- a/gcc/ginclude/va-mips.h +++ b/gcc/ginclude/va-mips.h @@ -38,7 +38,8 @@ typedef char * __gnuc_va_list; #endif #ifdef _STDARG_H -#define va_start(__AP, __LASTARG) (__AP = __builtin_next_arg (__LASTARG)) +#define va_start(__AP, __LASTARG) \ + (__AP = (__gnuc_va_list) __builtin_next_arg (__LASTARG)) #else #define va_alist __builtin_va_alist |