From ca85d4482af0b2e570565d5aa6d562ec86b10100 Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Tue, 31 May 2016 19:32:16 +0600 Subject: 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). --- backends/cloud/onedrive/onedrivestorage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/cloud/onedrive/onedrivestorage.cpp') 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(); -- cgit v1.2.3