From 78495ae462ee8f7e2b6bd7eed117005865879fca Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 15 Sep 2019 23:56:51 +0100 Subject: CLOUD: Fix MSVC Warning in Google Drive Token Refresher This was reported by Henke37 on IRC. --- backends/cloud/googledrive/googledrivetokenrefresher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends') 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(); -- cgit v1.2.3