VirtualBox

Changeset 24556 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Nov 10, 2009 3:24:24 PM (15 years ago)
Author:
vboxsync
Message:

Main/snapshots: another attempt at progress crash fixing

File:
1 edited

Legend:

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

    r24554 r24556  
    5454static DECLCALLBACK(int) progressCallback(unsigned uPercentage, void *pvUser)
    5555{
    56     Progress *progress = static_cast<Progress*>(pvUser);
     56    IProgress *progress = static_cast<IProgress*>(pvUser);
    5757
    5858    /* update the progress object */
     
    13041304                                   0,
    13051305                                   progressCallback,
    1306                                    static_cast<Progress*>(aConsoleProgress));
     1306                                   aConsoleProgress);
    13071307            alock.enter();
    13081308
     
    17241724                                       0,
    17251725                                       progressCallback,
    1726                                        aTask.pProgress);
     1726                                       static_cast<IProgress*>(aTask.pProgress));
    17271727
    17281728                alock.enter();
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