summaryrefslogtreecommitdiffstats
path: root/src/activeqt/axbase/qaxtypefunctions_p.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-10-30 13:19:45 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-10-30 17:37:43 +0100
commit8d7b49e91e85077f285e468f149270d4b13df041 (patch)
treea2f52f92da926c445371a3d5d5966c3c46a9ac5a /src/activeqt/axbase/qaxtypefunctions_p.h
parenta223a1434e4dd06581650f53631b84ed169e7dcc (diff)
Fix warnings about deprecated QVariant::Type
Change-Id: I377e524edaf686d1a77e24f3dcb8f94476004b43 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/activeqt/axbase/qaxtypefunctions_p.h')
-rw-r--r--src/activeqt/axbase/qaxtypefunctions_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/activeqt/axbase/qaxtypefunctions_p.h b/src/activeqt/axbase/qaxtypefunctions_p.h
index 7ce9067..2d7f613 100644
--- a/src/activeqt/axbase/qaxtypefunctions_p.h
+++ b/src/activeqt/axbase/qaxtypefunctions_p.h
@@ -99,7 +99,8 @@ static inline uint QColorToOLEColor(const QColor &col)
}
extern QColor OLEColorToQColor(uint col);
-extern bool QVariantToVoidStar(const QVariant &var, void *data, const QByteArray &typeName, uint type = 0);
+extern bool QVariantToVoidStar(const QVariant &var, void *data,
+ const QByteArray &typeName, int type = 0);
extern void clearVARIANT(VARIANT *var);
#define QAX_INPROC_SERVER (0x51540001)