Commit 9cc883e0 by Richard Kenner

(__va_tsize): Use __extension__ to avoid warning on use of `long

long'.

From-SVN: r10096
parent 6b18f4b7
......@@ -86,8 +86,8 @@ enum {
of words. */
#define __va_tsize(__type) \
(((sizeof (__type) + sizeof (long long) - 1) \
/ sizeof (long long)) * sizeof (long long))
(((sizeof (__type) + __extension__ sizeof (long long) - 1) \
/ __extension__ sizeof (long long)) * __extension__ sizeof (long long))
#define va_arg(__va, __type) \
(*(((__va).__offset += __va_tsize (__type)), \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment