From 065ebadc78f03014074c812f40495df3ee1eb073 Mon Sep 17 00:00:00 2001 From: gc87 Date: Sat, 30 Jul 2022 17:19:06 +0800 Subject: [PATCH] fix: compilation error due to syntax --- OPCClientToolKit/OPCGroup.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OPCClientToolKit/OPCGroup.cpp b/OPCClientToolKit/OPCGroup.cpp index 5cf7eab..0a1ce38 100644 --- a/OPCClientToolKit/OPCGroup.cpp +++ b/OPCClientToolKit/OPCGroup.cpp @@ -62,9 +62,8 @@ class CAsyncDataCallback : public IOPCDataCallback if (iid == IID_IUnknown) { - *ppInterface = (IUnknown *) + *ppInterface = (IUnknown *)this; } - this; else if (iid == IID_IOPCDataCallback) { *ppInterface = (IOPCDataCallback *)this;