summaryrefslogtreecommitdiff
path: root/sys/arch/mips/include/stdarg.h
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1995-12-25 22:22:02 +0000
committermycroft <mycroft@NetBSD.org>1995-12-25 22:22:02 +0000
commitd1de691efbf2efef51cc32b2d84fbe1dd98e248a (patch)
treeb945569e080f64f43e40294766b48250b999a35b /sys/arch/mips/include/stdarg.h
parent0199e002ad1f5b56434b80ffa13f316a8447715c (diff)
Stylistic changes.
Diffstat (limited to 'sys/arch/mips/include/stdarg.h')
-rw-r--r--sys/arch/mips/include/stdarg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mips/include/stdarg.h b/sys/arch/mips/include/stdarg.h
index fc1dcb1b00a..7270e3b260e 100644
--- a/sys/arch/mips/include/stdarg.h
+++ b/sys/arch/mips/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: stdarg.h,v 1.8 1995/12/25 21:41:15 mycroft Exp $ */
+/* $NetBSD: stdarg.h,v 1.9 1995/12/25 22:22:09 mycroft Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -46,7 +46,7 @@ typedef _BSD_VA_LIST_ va_list;
(((sizeof(type) + sizeof(long) - 1) / sizeof(long)) * sizeof(long))
#define va_start(ap, last) \
- (ap = ((char *)&(last) + __va_size(last)))
+ ((ap) = (va_list)&(last) + __va_size(last))
#define va_arg(ap, type) \
((type *)(ap += __va_size(type), ap - __va_size(type)))[0]