summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFrank Meerkoetter <frank.meerkoetter@basyskom.com>2017-12-18 21:57:41 +0100
committerFrank Meerkoetter <frank.meerkoetter@basyskom.com>2017-12-19 08:03:14 +0000
commit4b433e33cb7caee34ffb4d07afb7719ea9363ed0 (patch)
tree22370e18fe907fc5a3fc3cf809fa452f2e0e4539 /tests
parente9639ffcd2e8f919dbed7c3c9b863d6e631d6b2d (diff)
Fix clang warning: use of old style cast
As this was used in a macro definition it was quite noisy. Change-Id: I87c78b810a774516293e9e6fc87bd2f939ba590a Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qopcuaclient/tst_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qopcuaclient/tst_client.cpp b/tests/auto/qopcuaclient/tst_client.cpp
index a977cd3..df02163 100644
--- a/tests/auto/qopcuaclient/tst_client.cpp
+++ b/tests/auto/qopcuaclient/tst_client.cpp
@@ -246,7 +246,7 @@ private:
resultSpy.wait(); \
QCOMPARE(resultSpy.size(), 1); \
QCOMPARE(resultSpy.at(0).at(0).value<QOpcUaNode::NodeAttribute>(), QOpcUaNode::NodeAttribute::Value); \
- QCOMPARE(resultSpy.at(0).at(1).toUInt(), (uint)0); \
+ QCOMPARE(resultSpy.at(0).at(1).toUInt(), uint(0)); \
}
Tst_QOpcUaClient::Tst_QOpcUaClient()