summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/syscall.c b/syscall.c
index e03901d..420a578 100644
--- a/syscall.c
+++ b/syscall.c
@@ -34,8 +34,9 @@ fetchint(struct proc *p, unsigned addr, int *ip)
return 0;
}
+// This arg is void* so that both int* and uint* can be passed.
int
-fetcharg(int argno, int *ip)
+fetcharg(int argno, void *ip)
{
unsigned esp;