summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-05-05 17:17:39 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-05-05 17:17:39 (GMT)
commit292e0d5f0b22508b7be953e370f54251921bd6f1 (patch)
tree60b7d3cbcb1202db45bac1f3392c9eda4f369f7d /Swiften
parent36539eaf08e62014a6fdccb37748ae3173e56477 (diff)
downloadswift-contrib-292e0d5f0b22508b7be953e370f54251921bd6f1.zip
swift-contrib-292e0d5f0b22508b7be953e370f54251921bd6f1.tar.bz2
Compilation fixes.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Elements/StreamInitiationFileInfo.h2
-rw-r--r--Swiften/Queries/RawRequest.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Elements/StreamInitiationFileInfo.h b/Swiften/Elements/StreamInitiationFileInfo.h
index 9484bc0..6569c3d 100644
--- a/Swiften/Elements/StreamInitiationFileInfo.h
+++ b/Swiften/Elements/StreamInitiationFileInfo.h
@@ -84,7 +84,7 @@ public:
rangeOffset = offset;
}
- int getRangeOffset() const {
+ boost::uintmax_t getRangeOffset() const {
return rangeOffset;
}
diff --git a/Swiften/Queries/RawRequest.h b/Swiften/Queries/RawRequest.h
index e5b3a1d..d9a14f3 100644
--- a/Swiften/Queries/RawRequest.h
+++ b/Swiften/Queries/RawRequest.h
@@ -33,7 +33,7 @@ namespace Swift {
virtual void handleResponse(boost::shared_ptr<Payload> payload, ErrorPayload::ref error) {
if (error) {
- onResponse(ErrorSerializer().serializePayload(error));
+ onResponse(ErrorSerializer(&serializers).serializePayload(error));
}
else {
assert(payload);