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

@@ -172,7 +172,7 @@ fhandler_dev_floppy::lseek (_off64_t offset, int whence)
return ret;
devbufstart = devbufend = 0;
low = sector_aligned_offset & 0xffffffff;
low = sector_aligned_offset & UINT32_MAX;
high = sector_aligned_offset >> 32;
if (SetFilePointer (get_handle (), low, &high, FILE_BEGIN)
== INVALID_SET_FILE_POINTER && GetLastError ())