summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/PayloadParsers')
-rw-r--r--Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp b/Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp
index 384a0e9..0cd0100 100644
--- a/Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp
+++ b/Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp
@@ -31,7 +31,7 @@ class StorageParserTest : public CppUnit::TestFixture
Storage* payload = dynamic_cast<Storage*>(parser.getPayload().get());
std::vector<Storage::Conference> conferences = payload->getConferences();
- CPPUNIT_ASSERT_EQUAL(1U, conferences.size());
+ CPPUNIT_ASSERT_EQUAL(1, static_cast<int>(conferences.size()));
CPPUNIT_ASSERT_EQUAL(String("Council of Oberon"), conferences[0].name);
CPPUNIT_ASSERT_EQUAL(JID("council@conference.underhill.org"), conferences[0].jid);
CPPUNIT_ASSERT(conferences[0].autoJoin);
@@ -54,7 +54,7 @@ class StorageParserTest : public CppUnit::TestFixture
Storage* payload = dynamic_cast<Storage*>(parser.getPayload().get());
std::vector<Storage::Conference> conferences = payload->getConferences();
- CPPUNIT_ASSERT_EQUAL(2U, conferences.size());
+ CPPUNIT_ASSERT_EQUAL(2, static_cast<int>(conferences.size()));
CPPUNIT_ASSERT_EQUAL(String("Council of Oberon"), conferences[0].name);
CPPUNIT_ASSERT_EQUAL(JID("council@conference.underhill.org"), conferences[0].jid);
CPPUNIT_ASSERT_EQUAL(String("Tea party"), conferences[1].name);