summaryrefslogtreecommitdiff
path: root/src/activeqt/control/qaxservermain.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2016-04-08 10:28:24 +0200
committerLiang Qi <liang.qi@theqtcompany.com>2016-04-08 10:28:24 +0200
commitb5440b50f23982e7459a66b46ad41f176f67e308 (patch)
treed4e4e50e5a5ae84df442c1e4d2345539943692aa /src/activeqt/control/qaxservermain.cpp
parent7477c86107ac0f5d344b380b38118c3a90f994a7 (diff)
parenta4b8485cd38a9c33cdcf1b97633fa65b7230643b (diff)
downloadqtactiveqt-b5440b50f23982e7459a66b46ad41f176f67e308.tar.gz
Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-beta1
Conflicts: src/activeqt/container/qaxwidget.h Change-Id: Ic6e7267fc71e3ace14e75b392ad3f7cac0df41a1
Diffstat (limited to 'src/activeqt/control/qaxservermain.cpp')
-rw-r--r--src/activeqt/control/qaxservermain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activeqt/control/qaxservermain.cpp b/src/activeqt/control/qaxservermain.cpp
index 8adb504..7aec11d 100644
--- a/src/activeqt/control/qaxservermain.cpp
+++ b/src/activeqt/control/qaxservermain.cpp
@@ -138,7 +138,7 @@ bool qax_startServer(QAxFactory::ServerType type)
CLSID clsid = qAxFactory()->classID(keys.at(object));
// Create a QClassFactory (implemented in qaxserverbase.cpp)
- HRESULT hRes = GetClassObject(clsid, IID_IClassFactory, (void**)&p);
+ HRESULT hRes = GetClassObject(clsid, IID_IClassFactory, reinterpret_cast<void **>(&p));
if (SUCCEEDED(hRes))
hRes = CoRegisterClassObject(clsid, p, CLSCTX_LOCAL_SERVER,
type == QAxFactory::MultipleInstances ? REGCLS_MULTIPLEUSE : REGCLS_SINGLEUSE,