Fixed warning in syscall.c

Cast NULL to 'unsigned long' to get rid of compiler warning.
This commit is contained in:
2022-08-23 12:58:28 -05:00
parent 2f7d39e679
commit 54e2beefc1

View File

@@ -20,7 +20,7 @@ size_t mmap(syscall_arg_t arg_location, syscall_arg_t arg_length, syscall_arg_t
{
return EINVALIDARG;
}
else if(location == NULL)
else if(location == (unsigned long)NULL)
{
return ENULLPTR;
}