summaryrefslogtreecommitdiff
path: root/src/VBox/Main/src-client/GuestImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Main/src-client/GuestImpl.cpp')
-rw-r--r--src/VBox/Main/src-client/GuestImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Main/src-client/GuestImpl.cpp b/src/VBox/Main/src-client/GuestImpl.cpp
index e41a6f6f2..41469b0c4 100644
--- a/src/VBox/Main/src-client/GuestImpl.cpp
+++ b/src/VBox/Main/src-client/GuestImpl.cpp
@@ -111,7 +111,7 @@ HRESULT Guest::init(Console *aParent)
#ifdef VBOX_WITH_GUEST_CONTROL
hr = unconst(mEventSource).createObject();
if (SUCCEEDED(hr))
- hr = mEventSource->init(static_cast<IGuest*>(this));
+ hr = mEventSource->init();
#else
hr = S_OK;
#endif