X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Fsyscalls.c;h=d629ae4e8e16fb215b24211cb9921b24355c4990;hb=93a6bfbef3c85c3449826d1fbdc9aa08faa1dc20;hp=5580187df238562d19d49d2f4df901b7ed4e217f;hpb=51ab5f489bc356940c95cc936fd0508e8f07ea97;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/syscalls.c b/KernelLand/Kernel/syscalls.c index 5580187d..d629ae4e 100644 --- a/KernelLand/Kernel/syscalls.c +++ b/KernelLand/Kernel/syscalls.c @@ -102,7 +102,7 @@ void SyscallHandler(tSyscallRegs *Regs) // -- Get the physical address of a page case SYS_GETPHYS: - ret = MM_GetPhysAddr(Regs->Arg1); + ret = MM_GetPhysAddr( (void*)Regs->Arg1 ); break; // -- Map an address