summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-05-06 18:32:49 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-05-06 18:32:49 (GMT)
commit355db469b8d9e0e24925958dcbba2ca0a26848a7 (patch)
treeb11267dc2418f5ea76c549fd2325fbe6388408ab /Swiften/Parser
parent292e0d5f0b22508b7be953e370f54251921bd6f1 (diff)
downloadswift-contrib-355db469b8d9e0e24925958dcbba2ca0a26848a7.zip
swift-contrib-355db469b8d9e0e24925958dcbba2ca0a26848a7.tar.bz2
Fixed unit test compilation failure.
Diffstat (limited to 'Swiften/Parser')
-rw-r--r--Swiften/Parser/PayloadParsers/UnitTest/JingleParserTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Parser/PayloadParsers/UnitTest/JingleParserTest.cpp b/Swiften/Parser/PayloadParsers/UnitTest/JingleParserTest.cpp
index f1f25cd..8719a5d 100644
--- a/Swiften/Parser/PayloadParsers/UnitTest/JingleParserTest.cpp
+++ b/Swiften/Parser/PayloadParsers/UnitTest/JingleParserTest.cpp
@@ -468,7 +468,7 @@ class JingleParserTest : public CppUnit::TestFixture {
StreamInitiationFileInfo file = content->getDescription<JingleFileTransferDescription>()->getRequests()[0];
CPPUNIT_ASSERT_EQUAL(std::string("552da749930852c69ae5d2141d3766b1"), file.getHash());
- CPPUNIT_ASSERT_EQUAL(270336, file.getRangeOffset());
+ CPPUNIT_ASSERT_EQUAL(static_cast<boost::uintmax_t>(270336), file.getRangeOffset());
CPPUNIT_ASSERT_EQUAL(true, file.getSupportsRangeRequests());
}