VirtualBox

Changeset 33706 in vbox


Ignore:
Timestamp:
Nov 2, 2010 6:41:56 PM (14 years ago)
Author:
vboxsync
Message:

Main/Appliance: MSVC compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ApplianceImplIO.cpp

    r33659 r33706  
    956956    if (pInt->cbCurAll < uOffset)
    957957    {
    958         size_t cbSize = uOffset - pInt->cbCurAll;
     958        size_t cbSize = (size_t)(uOffset - pInt->cbCurAll);
    959959        size_t cbAllWritten = 0;
    960960        for(;;)
     
    10531053    if (pInt->cbCurAll < uOffset)
    10541054    {
    1055         rc = rtSha1ReadSyncCallback(pvUser, pvStorage, pInt->cbCurAll, 0, uOffset - pInt->cbCurAll, 0);
     1055        rc = rtSha1ReadSyncCallback(pvUser, pvStorage, pInt->cbCurAll, 0,
     1056                                    (size_t)(uOffset - pInt->cbCurAll), 0);
    10561057        if (RT_FAILURE(rc))
    10571058            return rc;
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