VirtualBox

Changeset 47934 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 20, 2013 3:33:41 PM (11 years ago)
Author:
vboxsync
Message:

VBoxManage: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp

    r47918 r47934  
    535535                    break;
    536536                }
    537                 SafeArray<BYTE> icon(cbSize);
    538                 rc = RTFileRead(iconFile, icon.raw(), cbSize, NULL);
     537                SafeArray<BYTE> icon((size_t)cbSize);
     538                rc = RTFileRead(iconFile, icon.raw(), (size_t)cbSize, NULL);
    539539                if (RT_FAILURE(vrc))
    540540                {
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