aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Crozat2016-09-17 21:45:00 +0100
committerThierry Crozat2016-09-17 21:45:46 +0100
commit973df9d2fda30e92e51de98482592333f4e229bd (patch)
tree77c31aa1302fc08dac082511f6461f46e64ead4f
parent05d85b1e4e71fc171ab09665a97f52b3904daaad (diff)
downloadscummvm-rg350-973df9d2fda30e92e51de98482592333f4e229bd.tar.gz
scummvm-rg350-973df9d2fda30e92e51de98482592333f4e229bd.tar.bz2
scummvm-rg350-973df9d2fda30e92e51de98482592333f4e229bd.zip
CLOUD: Fix compilation for integer constant too large for 'long' type
Hopefully all ports we have support LL constants. Otherwise we will have to find a different way to fix this.
-rw-r--r--backends/cloud/onedrive/onedrivestorage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cloud/onedrive/onedrivestorage.cpp b/backends/cloud/onedrive/onedrivestorage.cpp
index 3ffdcc67f8..8799f3d69f 100644
--- a/backends/cloud/onedrive/onedrivestorage.cpp
+++ b/backends/cloud/onedrive/onedrivestorage.cpp
@@ -196,7 +196,7 @@ void OneDriveStorage::infoInnerCallback(StorageInfoCallback outerCallback, Netwo
Common::JSONObject info = json->asObject();
Common::String uid, name, email;
- uint64 quotaUsed = 0, quotaAllocated = 26843545600L; // 25 GB, because I actually don't know any way to find out the real one
+ uint64 quotaUsed = 0, quotaAllocated = 26843545600LL; // 25 GB, because I actually don't know any way to find out the real one
if (Networking::CurlJsonRequest::jsonContainsObject(info, "createdBy", "OneDriveStorage::infoInnerCallback")) {
Common::JSONObject createdBy = info.getVal("createdBy")->asObject();