From: Alan Cox Date: Thu, 4 Jun 2015 18:25:01 +0000 (+0100) Subject: syscall_proc: correct types X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0bd300bb0825288e781fdde5945a0ffeadbff506;p=FUZIX.git syscall_proc: correct types --- diff --git a/Kernel/syscall_proc.c b/Kernel/syscall_proc.c index 418fa1ac..1c6131c0 100644 --- a/Kernel/syscall_proc.c +++ b/Kernel/syscall_proc.c @@ -233,7 +233,7 @@ arg_t _brk(void) /* If we have done a break that gives us more room we must zero the extra as we no longer guarantee it is clear already */ if (addr > udata.u_break) - uzero(udata.u_break, addr - udata.u_break); + uzero((void *)udata.u_break, addr - udata.u_break); udata.u_break = addr; return 0; }