diff --git a/include/stdarg.h b/include/stdarg.h index fe0fa9f07..be9ce537f 100644 --- a/include/stdarg.h +++ b/include/stdarg.h @@ -40,7 +40,7 @@ typedef unsigned char* va_list; -#define va_start(ap, fix) ap = (va_list)&fix + __argsize__ - __fixargs__ +#define va_start(ap, fix) ap = ((va_list)&(fix)) #define va_arg(ap,type) (*(type*)(ap -= ((sizeof (type) + 1) & ~1))) #define va_copy(dest, src) ((dest)=(src)) #define va_end(ap)