diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-09-27 13:42:23 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-09-28 11:51:14 +0000 |
commit | 5af3c7ecebbe6fb9a326f80335c6a342432fbf04 (patch) | |
tree | e575f461f54e2d6df513b048dbdbe4535d587f47 /tests | |
parent | 0026e2f288227577ef83f588eb309f1faf4cf39d (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.cpp | 6 |
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()); |