mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-07 02:12:14 +00:00
CLOUD: Fix format for uint64 variables
This commit is contained in:
parent
d69db0c54f
commit
1496ad6bb5
@ -124,7 +124,7 @@ void CloudManager::save() {
|
||||
Common::String name = getStorageConfigName(i);
|
||||
ConfMan.set(kStoragePrefix + name + "_username", _storages[i].username, ConfMan.kCloudDomain);
|
||||
ConfMan.set(kStoragePrefix + name + "_lastSync", _storages[i].lastSyncDate, ConfMan.kCloudDomain);
|
||||
ConfMan.set(kStoragePrefix + name + "_usedBytes", Common::String::format("%lu", _storages[i].usedBytes), ConfMan.kCloudDomain);
|
||||
ConfMan.set(kStoragePrefix + name + "_usedBytes", Common::String::format("%llu", _storages[i].usedBytes), ConfMan.kCloudDomain);
|
||||
}
|
||||
|
||||
ConfMan.set("current_storage", Common::String::format("%u", _currentStorageIndex), ConfMan.kCloudDomain);
|
||||
|
@ -178,7 +178,7 @@ void GoogleDriveStorage::printInfo(StorageInfoResponse response) {
|
||||
debug(9, "\nGoogleDriveStorage: user info:");
|
||||
debug(9, "\tname: %s", response.value.name().c_str());
|
||||
debug(9, "\temail: %s", response.value.email().c_str());
|
||||
debug(9, "\tdisk usage: %lu/%lu", response.value.used(), response.value.available());
|
||||
debug(9, "\tdisk usage: %llu/%llu", response.value.used(), response.value.available());
|
||||
}
|
||||
|
||||
Networking::Request *GoogleDriveStorage::createDirectoryWithParentId(Common::String parentId, Common::String directoryName, BoolCallback callback, Networking::ErrorCallback errorCallback) {
|
||||
|
@ -199,7 +199,7 @@ void GoogleDriveUploadRequest::uploadNextPart() {
|
||||
uint32 oldPos = _contentsStream->pos();
|
||||
if (oldPos != _serverReceivedBytes) {
|
||||
if (!_contentsStream->seek(_serverReceivedBytes)) {
|
||||
warning("GoogleDriveUploadRequest: cannot upload because stream couldn't seek(%lu)", _serverReceivedBytes);
|
||||
warning("GoogleDriveUploadRequest: cannot upload because stream couldn't seek(%llu)", _serverReceivedBytes);
|
||||
finishError(Networking::ErrorResponse(this, false, true, "GoogleDriveUploadRequest::uploadNextPart: seek() didn't work", -1));
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user