Substitute 0x7fffffff and 0xffffffff by INT32_MAX and UINT32_MAX
throughout, except in assembler code.
This commit is contained in:
@@ -920,7 +920,7 @@ fhandler_disk_file::mmap (caddr_t *addr, size_t len, DWORD access,
|
||||
return INVALID_HANDLE_VALUE;
|
||||
}
|
||||
|
||||
DWORD high = off >> 32, low = off & 0xffffffff;
|
||||
DWORD high = off >> 32, low = off & UINT32_MAX;
|
||||
void *base = NULL;
|
||||
/* If a non-zero address is given, try mapping using the given address first.
|
||||
If it fails and flags is not MAP_FIXED, try again with NULL address. */
|
||||
|
Reference in New Issue
Block a user