summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r--rbutil/rbutilqt/test/test-httpget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/test/test-httpget.cpp b/rbutil/rbutilqt/test/test-httpget.cpp
index 0388081452..70b581a74a 100644
--- a/rbutil/rbutilqt/test/test-httpget.cpp
+++ b/rbutil/rbutilqt/test/test-httpget.cpp
@@ -426,7 +426,7 @@ void TestHttpGet::testContentToBuffer(void)
426 QCOMPARE(m_waitTimeoutOccured, false); 426 QCOMPARE(m_waitTimeoutOccured, false);
427 QCOMPARE(m_getter->readAll(), QByteArray(TEST_BINARY_BLOB)); 427 QCOMPARE(m_getter->readAll(), QByteArray(TEST_BINARY_BLOB));
428 // sizeof(TEST_BINARY_BLOB) will include an additional terminating NULL. 428 // sizeof(TEST_BINARY_BLOB) will include an additional terminating NULL.
429 QCOMPARE((unsigned long)m_getter->readAll().size(), sizeof(TEST_BINARY_BLOB) - 1); 429 QCOMPARE(m_getter->readAll().size(), (int)sizeof(TEST_BINARY_BLOB) - 1);
430 QCOMPARE(m_progressSpy->at(m_progressSpy->count() - 1).at(0).toInt(), (int)sizeof(TEST_BINARY_BLOB) - 1); 430 QCOMPARE(m_progressSpy->at(m_progressSpy->count() - 1).at(0).toInt(), (int)sizeof(TEST_BINARY_BLOB) - 1);
431 QCOMPARE(m_progressSpy->at(m_progressSpy->count() - 1).at(1).toInt(), (int)sizeof(TEST_BINARY_BLOB) - 1); 431 QCOMPARE(m_progressSpy->at(m_progressSpy->count() - 1).at(1).toInt(), (int)sizeof(TEST_BINARY_BLOB) - 1);
432} 432}