mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Fix style (no space after return, twice-too-big continuation) and
cast (casting long to a void pointer, rather than intptr_t to a void pointer) bogons. Reviewed by: bde
This commit is contained in:
parent
6ed033be24
commit
6e5328af01
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108168
@ -56,6 +56,6 @@ mmap(addr, len, prot, flags, fd, offset)
|
||||
off_t offset;
|
||||
{
|
||||
|
||||
return((void *)(long)__syscall((quad_t)SYS_mmap, addr, len, prot, flags,
|
||||
fd, 0, offset));
|
||||
return ((void *)(intptr_t)__syscall((quad_t)SYS_mmap, addr, len, prot,
|
||||
flags, fd, 0, offset));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user