Index: /trunk/src/VBox/Main/MachineImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/MachineImpl.cpp	(revision 31334)
+++ /trunk/src/VBox/Main/MachineImpl.cpp	(revision 31335)
@@ -4135,5 +4135,5 @@
     pTask->pProgress.createObject();
     pTask->pProgress->init(getVirtualBox(),
-                           this /* aInitiator */,
+                           static_cast<IMachine*>(this) /* aInitiator */,
                            Bstr(tr("Deleting files")),
                            true /* fCancellable */,
