VirtualBox

Ignore:
Timestamp:
Nov 10, 2008 11:23:05 PM (16 years ago)
Author:
vboxsync
Message:

RTDirRead/RTDirReadEx: sizes are size_t not unsigned.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedFolders/testcase/tstShflCase.cpp

    r13835 r14062  
    126126}
    127127
    128 int rtDirReadEx(PRTDIR pDir, PRTDIRENTRYEX pDirEntry, unsigned *pcbDirEntry, RTFSOBJATTRADD enmAdditionalAttribs)
     128int rtDirReadEx(PRTDIR pDir, PRTDIRENTRYEX pDirEntry, size_t *pcbDirEntry, RTFSOBJATTRADD enmAdditionalAttribs)
    129129{
    130130    switch(iDirList)
     
    226226    for(;;)
    227227    {
    228         uint32_t cbDirEntrySize = cbDirEntry;
     228        size_t cbDirEntrySize = cbDirEntry;
    229229
    230230        rc = RTDirReadEx(hSearch, pDirEntry, &cbDirEntrySize, RTFSOBJATTRADD_NOTHING);
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