diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-05-05 17:17:39 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-05-05 17:17:39 (GMT) |
commit | 292e0d5f0b22508b7be953e370f54251921bd6f1 (patch) | |
tree | 60b7d3cbcb1202db45bac1f3392c9eda4f369f7d | |
parent | 36539eaf08e62014a6fdccb37748ae3173e56477 (diff) | |
download | swift-contrib-292e0d5f0b22508b7be953e370f54251921bd6f1.zip swift-contrib-292e0d5f0b22508b7be953e370f54251921bd6f1.tar.bz2 |
Compilation fixes.
-rw-r--r-- | Swiften/Elements/StreamInitiationFileInfo.h | 2 | ||||
-rw-r--r-- | Swiften/Queries/RawRequest.h | 2 |
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); |