From 7ab8deef13049dbd9fb88c20d5a75d627eea0436 Mon Sep 17 00:00:00 2001 From: Wiebe Cazemier Date: Thu, 28 Jul 2022 21:36:07 +0200 Subject: [PATCH] Fix comparison between signed and unsigned warning in test --- FlashMQTests/tst_maintests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FlashMQTests/tst_maintests.cpp b/FlashMQTests/tst_maintests.cpp index c5da5f3..1e3dc41 100644 --- a/FlashMQTests/tst_maintests.cpp +++ b/FlashMQTests/tst_maintests.cpp @@ -251,7 +251,7 @@ void MainTests::test_circbuf_unwrapped_doubling() QCOMPARE(buf.buf[63], 0); // Vacant place, because of the circulerness. MYCASTCOMPARE(buf.head, 63); - QCOMPARE(buf.freeSpace(), 0); + MYCASTCOMPARE(buf.freeSpace(), 0); buf.doubleSize(); tail = buf.tailPtr(); -- libgit2 0.21.4