From 292e0d5f0b22508b7be953e370f54251921bd6f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sat, 5 May 2012 19:17:39 +0200
Subject: Compilation fixes.


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);
-- 
cgit v0.10.2-6-g49f6