Changeset 59513 in vbox
- Timestamp:
- Jan 28, 2016 2:53:22 PM (9 years ago)
- Location:
- trunk/src/VBox/Runtime/r3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/linux/RTFileSetAllocationSize-linux.cpp
r59512 r59513 52 52 AssertReturn(hFile != NIL_RTFILE, VERR_INVALID_PARAMETER); 53 53 AssertReturn(!(fFlags & ~RTFILE_ALLOC_SIZE_F_VALID), VERR_INVALID_PARAMETER); 54 AssertMsgReturn(sizeof(off_t) >= sizeof(cbSize) &&RT_HIDWORD(cbSize) == 0,54 AssertMsgReturn(sizeof(off_t) >= sizeof(cbSize) || RT_HIDWORD(cbSize) == 0, 55 55 ("64-bit filesize not supported! cbSize=%lld\n", cbSize), 56 56 VERR_NOT_SUPPORTED); -
trunk/src/VBox/Runtime/r3/posix/RTFileSetAllocationSize-posix.cpp
r59512 r59513 50 50 AssertReturn(hFile != NIL_RTFILE, VERR_INVALID_PARAMETER); 51 51 AssertReturn(!(fFlags & ~RTFILE_ALLOC_SIZE_F_VALID), VERR_INVALID_PARAMETER); 52 AssertMsgReturn(sizeof(off_t) >= sizeof(cbSize) &&RT_HIDWORD(cbSize) == 0,52 AssertMsgReturn(sizeof(off_t) >= sizeof(cbSize) || RT_HIDWORD(cbSize) == 0, 53 53 ("64-bit filesize not supported! cbSize=%lld\n", cbSize), 54 54 VERR_NOT_SUPPORTED);
Note:
See TracChangeset
for help on using the changeset viewer.