VirtualBox

Changeset 107803 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Jan 16, 2025 9:08:31 AM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166955
Message:

Runtime/r3/fileio.cpp: Make the parameters of RTFileSetForceFlags() 64-bit like all the other RTFile* APIs for the mode flags, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/Runtime/r3/fileio.cpp

    r107789 r107803  
    5454*********************************************************************************************************************************/
    5555/** Set of forced set open flags for files opened read-only. */
    56 static unsigned g_fOpenReadSet = 0;
     56static uint64_t g_fOpenReadSet = 0;
    5757
    5858/** Set of forced cleared open flags for files opened read-only. */
    59 static unsigned g_fOpenReadMask = 0;
     59static uint64_t g_fOpenReadMask = 0;
    6060
    6161/** Set of forced set open flags for files opened write-only. */
    62 static unsigned g_fOpenWriteSet = 0;
     62static uint64_t g_fOpenWriteSet = 0;
    6363
    6464/** Set of forced cleared open flags for files opened write-only. */
    65 static unsigned g_fOpenWriteMask = 0;
     65static uint64_t g_fOpenWriteMask = 0;
    6666
    6767/** Set of forced set open flags for files opened read-write. */
    68 static unsigned g_fOpenReadWriteSet = 0;
     68static uint64_t g_fOpenReadWriteSet = 0;
    6969
    7070/** Set of forced cleared open flags for files opened read-write. */
    71 static unsigned g_fOpenReadWriteMask = 0;
     71static uint64_t g_fOpenReadWriteMask = 0;
    7272
    7373
     
    8181 * @param   fMask           Open flags to be masked out.
    8282 */
    83 RTR3DECL(int)  RTFileSetForceFlags(unsigned fOpenForAccess, unsigned fSet, unsigned fMask)
     83RTR3DECL(int)  RTFileSetForceFlags(uint64_t fOpenForAccess, uint64_t fSet, uint64_t fMask)
    8484{
    8585    /*
Note: See TracChangeset for help on using the changeset viewer.

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