VirtualBox

Changeset 14062 in vbox for trunk/src/VBox/Devices/Storage


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/Devices/Storage/VBoxHDD-new.cpp

    r13580 r14062  
    691691
    692692        PRTDIRENTRYEX pPluginDirEntry = NULL;
    693         unsigned cbPluginDirEntry = sizeof(RTDIRENTRY);
     693        size_t cbPluginDirEntry = sizeof(RTDIRENTRY);
    694694        pPluginDirEntry = (PRTDIRENTRYEX)RTMemAllocZ(sizeof(RTDIRENTRY));
    695695        if (!pPluginDirEntry)
     
    985985
    986986        PRTDIRENTRYEX pPluginDirEntry = NULL;
    987         unsigned cbPluginDirEntry = sizeof(RTDIRENTRY);
     987        size_t cbPluginDirEntry = sizeof(RTDIRENTRY);
    988988        pPluginDirEntry = (PRTDIRENTRYEX)RTMemAllocZ(sizeof(RTDIRENTRY));
    989989        if (!pPluginDirEntry)
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