VirtualBox

Changeset 24992 in vbox


Ignore:
Timestamp:
Nov 26, 2009 11:59:00 AM (15 years ago)
Author:
vboxsync
Message:

Main: fix mac burn

File:
1 edited

Legend:

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

    r24989 r24992  
    19921992            {
    19931993                ++ulOpCount;
    1994                 ulTotalWeight += pHD->getSize() / _1M;
     1994                ulTotalWeight += (ULONG)(pHD->getSize() / _1M);
    19951995            }
    19961996            LogFlowThisFunc(("op %d: considering hard disk attachment %s\n", ulOpCount, pHD->getName().c_str()));
     
    22982298        {
    22992299            rc = it->hd->discard(aTask.pProgress,
    2300                                  it->hd->getSize() / _1M,          // weight
     2300                                 (ULONG)(it->hd->getSize() / _1M),          // weight
    23012301                                 it->chain);
    23022302            CheckComRCBreakRC(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