aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/onedrive/onedrivestorage.cpp
diff options
context:
space:
mode:
authorAlexander Tkachev2016-05-31 19:32:16 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitca85d4482af0b2e570565d5aa6d562ec86b10100 (patch)
treee62fd73f8564a2eca3a619277db764af691aa923 /backends/cloud/onedrive/onedrivestorage.cpp
parent0d0033fb6ad00e3081bc2854ce5972746b603105 (diff)
downloadscummvm-rg350-ca85d4482af0b2e570565d5aa6d562ec86b10100.tar.gz
scummvm-rg350-ca85d4482af0b2e570565d5aa6d562ec86b10100.tar.bz2
scummvm-rg350-ca85d4482af0b2e570565d5aa6d562ec86b10100.zip
CLOUD: Use uint64 in StorageInfo
There was a warning regarding 25 GB constant. By the way, I'm not sure how to print uint64 (%llu is available in C99 only, and gcc produces a warning about that).
Diffstat (limited to 'backends/cloud/onedrive/onedrivestorage.cpp')
-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 fb2ead3364..c64ed6bf72 100644
--- a/backends/cloud/onedrive/onedrivestorage.cpp
+++ b/backends/cloud/onedrive/onedrivestorage.cpp
@@ -143,7 +143,7 @@ void OneDriveStorage::infoInnerCallback(StorageInfoCallback outerCallback, Netwo
Common::JSONObject info = json->asObject();
Common::String uid, name, email;
- uint32 quotaUsed = 0, quotaAllocated = 25 * 1024 * 1024 * 1024; // 25 GB, because I actually don't know any way to find out the real one
+ uint64 quotaUsed = 0, quotaAllocated = 26843545600L; // 25 GB, because I actually don't know any way to find out the real one
if (info.contains("createdBy") && info.getVal("createdBy")->isObject()) {
Common::JSONObject createdBy = info.getVal("createdBy")->asObject();