VirtualBox

Changeset 77445 in vbox for trunk/src


Ignore:
Timestamp:
Feb 23, 2019 1:59:26 AM (6 years ago)
Author:
vboxsync
Message:

linux/vboxsf,FsPerf: RTFileWrite vs mmap coherency test and fixes. bugref:9172 [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/fs/FsPerf.cpp

    r77442 r77445  
    24242424                    /* Generate a randomly sized write at a random location, making
    24252425                       sure it differs from whatever is there already before writing. */
    2426                     uint32_t const cbToWrite  = RTRandU32Ex(1, cbBuf);
     2426                    uint32_t const cbToWrite  = RTRandU32Ex(1, (uint32_t)cbBuf);
    24272427                    uint64_t const offToWrite = RTRandU64Ex(0, cbMapping - cbToWrite);
    24282428
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