From 6beffb019a4672a7fb21564764d8e4ccd244720d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 23 Feb 2016 14:21:22 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@16329 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dropbox/src/api/upload.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Dropbox/src/api/upload.h') diff --git a/plugins/Dropbox/src/api/upload.h b/plugins/Dropbox/src/api/upload.h index 22125ed66d..e612046ba6 100644 --- a/plugins/Dropbox/src/api/upload.h +++ b/plugins/Dropbox/src/api/upload.h @@ -45,7 +45,7 @@ public: JSONNode root(JSON_NODE); root << JSONNode("session_id", sessionId) - << JSONNode("offset", offset); + << JSONNode("offset", (unsigned long)offset); json_string params = root.write(); AddHeader("Dropbox-API-Arg", params.c_str()); @@ -67,7 +67,7 @@ public: cursor.set_name("cursor"); cursor << JSONNode("session_id", sessionId) - << JSONNode("offset", offset); + << JSONNode("offset", (unsigned long)offset); JSONNode commit(JSON_NODE); commit.set_name("commit"); -- cgit v1.2.3