aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud
diff options
context:
space:
mode:
authorD G Turner2019-09-15 23:56:51 +0100
committerD G Turner2019-09-15 23:56:51 +0100
commit78495ae462ee8f7e2b6bd7eed117005865879fca (patch)
treec1f53852f7327f8bff9ecdc2f48e8d4785b50f32 /backends/cloud
parent24073733e6e2f5c0eac35b9ba3dc5149ef350b2d (diff)
downloadscummvm-rg350-78495ae462ee8f7e2b6bd7eed117005865879fca.tar.gz
scummvm-rg350-78495ae462ee8f7e2b6bd7eed117005865879fca.tar.bz2
scummvm-rg350-78495ae462ee8f7e2b6bd7eed117005865879fca.zip
CLOUD: Fix MSVC Warning in Google Drive Token Refresher
This was reported by Henke37 on IRC.
Diffstat (limited to 'backends/cloud')
-rw-r--r--backends/cloud/googledrive/googledrivetokenrefresher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cloud/googledrive/googledrivetokenrefresher.cpp b/backends/cloud/googledrive/googledrivetokenrefresher.cpp
index c6c7ab60c1..089b46e1f9 100644
--- a/backends/cloud/googledrive/googledrivetokenrefresher.cpp
+++ b/backends/cloud/googledrive/googledrivetokenrefresher.cpp
@@ -77,7 +77,7 @@ void GoogleDriveTokenRefresher::finishJson(Common::JSONValue *json) {
Common::JSONObject error = result.getVal("error")->asObject();
bool irrecoverable = true;
- uint32 code = -1;
+ uint32 code = 0xFFFFFFFF; // Invalid
Common::String message;
if (jsonContainsIntegerNumber(error, "code", "GoogleDriveTokenRefresher")) {
code = error.getVal("code")->asIntegerNumber();