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

@ -856,7 +856,7 @@ fhandler_base::lseek (_off64_t offset, int whence)
DWORD win32_whence = whence == SEEK_SET ? FILE_BEGIN
: (whence == SEEK_CUR ? FILE_CURRENT : FILE_END);
LONG off_low = ((__uint64_t) offset) & 0xffffffffLL;
LONG off_low = ((__uint64_t) offset) & UINT32_MAX;
LONG *poff_high, off_high;
if (!wincap.has_64bit_file_access ())
poff_high = NULL;