Substitute 0x7fffffff and 0xffffffff by INT32_MAX and UINT32_MAX

throughout, except in assembler code.
This commit is contained in:
Corinna Vinschen
2003-12-03 16:35:52 +00:00
parent d2fa946e51
commit 145b4dc249
11 changed files with 21 additions and 16 deletions

View File

@@ -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. */