diff options
Diffstat (limited to 'src/VBox/Main/src-client/GuestFileImpl.cpp')
-rw-r--r-- | src/VBox/Main/src-client/GuestFileImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Main/src-client/GuestFileImpl.cpp b/src/VBox/Main/src-client/GuestFileImpl.cpp index 4bd3c5737..8a0ce53e2 100644 --- a/src/VBox/Main/src-client/GuestFileImpl.cpp +++ b/src/VBox/Main/src-client/GuestFileImpl.cpp @@ -160,7 +160,7 @@ int GuestFile::init(Console *pConsole, GuestSession *pSession, mData.mOpenInfo = openInfo; unconst(mEventSource).createObject(); - HRESULT hr = mEventSource->init(static_cast<IGuestFile*>(this)); + HRESULT hr = mEventSource->init(); if (FAILED(hr)) vrc = VERR_COM_UNEXPECTED; } |