aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/dropbox
diff options
context:
space:
mode:
authorAlexander Tkachev2016-05-27 22:37:03 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit14d60e62f8452dd433fcf275cd87fd9b8c3bd6fd (patch)
treecd7c6329af6ebd76beeea6e0b857df2a3056371f /backends/cloud/dropbox
parent8aa87815a62117c5fd29b335c8e33b0cbea0da44 (diff)
downloadscummvm-rg350-14d60e62f8452dd433fcf275cd87fd9b8c3bd6fd.tar.gz
scummvm-rg350-14d60e62f8452dd433fcf275cd87fd9b8c3bd6fd.tar.bz2
scummvm-rg350-14d60e62f8452dd433fcf275cd87fd9b8c3bd6fd.zip
CLOUD: Fix format string warnings
I get 'warning: ISO C++98 does not support the '%lg' ms_printf format' warning though.
Diffstat (limited to 'backends/cloud/dropbox')
-rw-r--r--backends/cloud/dropbox/dropboxstorage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cloud/dropbox/dropboxstorage.cpp b/backends/cloud/dropbox/dropboxstorage.cpp
index 3d7eafedeb..ad6702c967 100644
--- a/backends/cloud/dropbox/dropboxstorage.cpp
+++ b/backends/cloud/dropbox/dropboxstorage.cpp
@@ -168,7 +168,7 @@ void DropboxStorage::infoInnerCallback(StorageInfoCallback outerCallback, Networ
if (outerCallback) {
//Dropbox documentation states there is no errors for this API method
Common::JSONObject info = json->asObject();
- Common::String uid = Common::String::format("%d", info.getVal("uid")->asNumber());
+ Common::String uid = Common::String::format("%d", (int)info.getVal("uid")->asNumber());
Common::String name = info.getVal("display_name")->asString();
Common::String email = info.getVal("email")->asString();
Common::JSONObject quota = info.getVal("quota_info")->asObject();