Commit 7ab8deef13049dbd9fb88c20d5a75d627eea0436

Authored by Wiebe Cazemier
1 parent 4fcca574

Fix comparison between signed and unsigned warning in test

FlashMQTests/tst_maintests.cpp
@@ -251,7 +251,7 @@ void MainTests::test_circbuf_unwrapped_doubling() @@ -251,7 +251,7 @@ void MainTests::test_circbuf_unwrapped_doubling()
251 QCOMPARE(buf.buf[63], 0); // Vacant place, because of the circulerness. 251 QCOMPARE(buf.buf[63], 0); // Vacant place, because of the circulerness.
252 252
253 MYCASTCOMPARE(buf.head, 63); 253 MYCASTCOMPARE(buf.head, 63);
254 - QCOMPARE(buf.freeSpace(), 0); 254 + MYCASTCOMPARE(buf.freeSpace(), 0);
255 255
256 buf.doubleSize(); 256 buf.doubleSize();
257 tail = buf.tailPtr(); 257 tail = buf.tailPtr();