Fixed warning in syscall.c
Cast NULL to 'unsigned long' to get rid of compiler warning.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user