Commit cec6e378 by Richard Kenner

(__va_tsize): Round to long long not long.

From-SVN: r9996
parent 1d783d31
......@@ -86,7 +86,8 @@ enum {
of words. */
#define __va_tsize(__type) \
(((sizeof (__type) + sizeof (long) - 1) / sizeof (long)) * sizeof (long))
(((sizeof (__type) + sizeof (long long) - 1) \
/ sizeof (long long)) * 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