summaryrefslogtreecommitdiff
path: root/i386/include/mach/sa/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'i386/include/mach/sa/stdarg.h')
-rw-r--r--i386/include/mach/sa/stdarg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/include/mach/sa/stdarg.h b/i386/include/mach/sa/stdarg.h
index ba0f78a1..550fec4f 100644
--- a/i386/include/mach/sa/stdarg.h
+++ b/i386/include/mach/sa/stdarg.h
@@ -39,7 +39,7 @@ typedef __builtin_va_list va_list;
#else
-#define __va_size(type) ((sizeof(type)+3) & ~0x3)
+#define __va_size(type) ((sizeof(type)+sizeof(unsigned long)-1) & ~(sizeof(unsigned long)-1))
#ifndef _VA_LIST_
#define _VA_LIST_