summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-09-27 13:42:23 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-09-28 11:51:14 +0000
commit5af3c7ecebbe6fb9a326f80335c6a342432fbf04 (patch)
treee575f461f54e2d6df513b048dbdbe4535d587f47 /tests
parent0026e2f288227577ef83f588eb309f1faf4cf39d (diff)
Fix two signed-vs-unsigned warnings using 0u in place of 0
Change-Id: I067757bc054836521f42cb151f186cfe9d11dd72 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 3dd399fbb4c5da290a95c932315f0525255b9542) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/unit/multimedia/qvideoframe/tst_qvideoframe.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/unit/multimedia/qvideoframe/tst_qvideoframe.cpp b/tests/auto/unit/multimedia/qvideoframe/tst_qvideoframe.cpp
index bcb2843c4..cb94c102e 100644
--- a/tests/auto/unit/multimedia/qvideoframe/tst_qvideoframe.cpp
+++ b/tests/auto/unit/multimedia/qvideoframe/tst_qvideoframe.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2021 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
@@ -189,7 +189,7 @@ void tst_QVideoFrame::create()
QVERIFY(frame.isValid());
QCOMPARE(frame.handleType(), QVideoFrame::NoHandle);
- QCOMPARE(frame.textureHandle(0), 0);
+ QCOMPARE(frame.textureHandle(0), 0u);
QCOMPARE(frame.pixelFormat(), pixelFormat);
QCOMPARE(frame.size(), size);
QCOMPARE(frame.width(), size.width());
@@ -220,7 +220,7 @@ void tst_QVideoFrame::createInvalid()
QVERIFY(!frame.isValid());
QCOMPARE(frame.handleType(), QVideoFrame::NoHandle);
- QCOMPARE(frame.textureHandle(0), 0);
+ QCOMPARE(frame.textureHandle(0), 0u);
QCOMPARE(frame.pixelFormat(), pixelFormat);
QCOMPARE(frame.size(), size);
QCOMPARE(frame.width(), size.width());