VirtualBox

Changeset 59513 in vbox


Ignore:
Timestamp:
Jan 28, 2016 2:53:22 PM (9 years ago)
Author:
vboxsync
Message:

Fix for the cleanup

Location:
trunk/src/VBox/Runtime/r3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/linux/RTFileSetAllocationSize-linux.cpp

    r59512 r59513  
    5252    AssertReturn(hFile != NIL_RTFILE, VERR_INVALID_PARAMETER);
    5353    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,
    5555                    ("64-bit filesize not supported! cbSize=%lld\n", cbSize),
    5656                    VERR_NOT_SUPPORTED);
  • trunk/src/VBox/Runtime/r3/posix/RTFileSetAllocationSize-posix.cpp

    r59512 r59513  
    5050    AssertReturn(hFile != NIL_RTFILE, VERR_INVALID_PARAMETER);
    5151    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,
    5353                    ("64-bit filesize not supported! cbSize=%lld\n", cbSize),
    5454                    VERR_NOT_SUPPORTED);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette