diff options
author | Thierry Crozat | 2016-09-17 21:45:00 +0100 |
---|---|---|
committer | Thierry Crozat | 2016-09-17 21:45:46 +0100 |
commit | 973df9d2fda30e92e51de98482592333f4e229bd (patch) | |
tree | 77c31aa1302fc08dac082511f6461f46e64ead4f | |
parent | 05d85b1e4e71fc171ab09665a97f52b3904daaad (diff) | |
download | scummvm-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.cpp | 2 |
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(); |