about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/misc/syscall.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/misc/syscall.c b/src/misc/syscall.c
index 15355609..9d435a97 100644
--- a/src/misc/syscall.c
+++ b/src/misc/syscall.c
@@ -6,14 +6,14 @@
 long syscall(long n, ...)
 {
 	va_list ap;
-	long a,b,c,d,e,f;
+	syscall_arg_t a,b,c,d,e,f;
 	va_start(ap, n);
-	a=va_arg(ap, long);
-	b=va_arg(ap, long);
-	c=va_arg(ap, long);
-	d=va_arg(ap, long);
-	e=va_arg(ap, long);
-	f=va_arg(ap, long);
+	a=va_arg(ap, syscall_arg_t);
+	b=va_arg(ap, syscall_arg_t);
+	c=va_arg(ap, syscall_arg_t);
+	d=va_arg(ap, syscall_arg_t);
+	e=va_arg(ap, syscall_arg_t);
+	f=va_arg(ap, syscall_arg_t);
 	va_end(ap);
 	return __syscall_ret(__syscall(n,a,b,c,d,e,f));
 }