aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/dropbox
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-21 16:58:09 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitfa3ea83165d6c378348f61f8daec85f805626dbe (patch)
treeb0714a57eca099237dfe3c5e5018eadba1050873 /backends/cloud/dropbox
parentcff183536b62c84b6de8c83c3f249466ae3e75d6 (diff)
downloadscummvm-rg350-fa3ea83165d6c378348f61f8daec85f805626dbe.tar.gz
scummvm-rg350-fa3ea83165d6c378348f61f8daec85f805626dbe.tar.bz2
scummvm-rg350-fa3ea83165d6c378348f61f8daec85f805626dbe.zip
CLOUD: Fix some warnings
Mostly on format string
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 3cf14d5e0b..6d73e52c43 100644
--- a/backends/cloud/dropbox/dropboxstorage.cpp
+++ b/backends/cloud/dropbox/dropboxstorage.cpp
@@ -80,7 +80,7 @@ void DropboxStorage::codeFlowComplete(Networking::JsonResponse response) {
if (json) {
Common::JSONObject result = json->asObject();
if (!result.contains("access_token") || !result.contains("uid")) {
- warning(json->stringify(true).c_str());
+ warning("%s", json->stringify(true).c_str());
warning("Bad response, no token/uid passed");
} else {
_token = result.getVal("access_token")->asString();