[Scummvm-git-logs] scummvm master -> 973df9d2fda30e92e51de98482592333f4e229bd
criezy
criezy at scummvm.org
Sat Sep 17 22:46:09 CEST 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
973df9d2fd CLOUD: Fix compilation for integer constant too large for 'long' type
Commit: 973df9d2fda30e92e51de98482592333f4e229bd
https://github.com/scummvm/scummvm/commit/973df9d2fda30e92e51de98482592333f4e229bd
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2016-09-17T21:45:46+01:00
Commit Message:
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.
Changed paths:
backends/cloud/onedrive/onedrivestorage.cpp
diff --git a/backends/cloud/onedrive/onedrivestorage.cpp b/backends/cloud/onedrive/onedrivestorage.cpp
index 3ffdcc6..8799f3d 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();
More information about the Scummvm-git-logs
mailing list