summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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);