diff options
Diffstat (limited to 'plugins/Dropbox/src/api/upload.h')
-rw-r--r-- | plugins/Dropbox/src/api/upload.h | 4 |
1 files changed, 2 insertions, 2 deletions
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");
|