aboutsummaryrefslogtreecommitdiff
path: root/engines/testbed
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-25 13:37:40 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitb8fae56c6733cdb5f6e4f64266ca61105eb3155d (patch)
tree6eba34d7824e17b9499836e11a164f5f5652b6f9 /engines/testbed
parent86f7b75dd7436322f90b6633739b96f92dec16a2 (diff)
downloadscummvm-rg350-b8fae56c6733cdb5f6e4f64266ca61105eb3155d.tar.gz
scummvm-rg350-b8fae56c6733cdb5f6e4f64266ca61105eb3155d.tar.bz2
scummvm-rg350-b8fae56c6733cdb5f6e4f64266ca61105eb3155d.zip
TESTBED: Fix a few Cloud warnings
Diffstat (limited to 'engines/testbed')
-rw-r--r--engines/testbed/cloud.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/testbed/cloud.cpp b/engines/testbed/cloud.cpp
index 775ae1037c..a2d62733be 100644
--- a/engines/testbed/cloud.cpp
+++ b/engines/testbed/cloud.cpp
@@ -118,7 +118,7 @@ void CloudTests::directoryListedCallback(Cloud::Storage::FileArrayResponse respo
Testsuite::logPrintf("Info! %u directories listed, first one is '%s'\n", directories, directory.c_str());
} else {
Testsuite::logPrintf("Info! %u directories and %u files listed\n", directories, files);
- Testsuite::logPrintf("Info! First directory is '%u' and first file is '%s'\n", directory.c_str(), file.c_str());
+ Testsuite::logPrintf("Info! First directory is '%s' and first file is '%s'\n", directory.c_str(), file.c_str());
}
}
@@ -134,7 +134,7 @@ void CloudTests::directoryCreatedCallback(Cloud::Storage::BoolResponse response)
void CloudTests::fileUploadedCallback(Cloud::Storage::UploadResponse response) {
ConfParams.setCloudTestCallbackCalled(true);
Testsuite::logPrintf("Info! Uploaded file into '%s'\n", response.value.path().c_str());
- Testsuite::logPrintf("Info! It's id = '%s' and size = '%lu'\n", response.value.id().c_str(), response.value.size());
+ Testsuite::logPrintf("Info! It's id = '%s' and size = '%u'\n", response.value.id().c_str(), response.value.size());
}
void CloudTests::fileDownloadedCallback(Cloud::Storage::BoolResponse response) {
@@ -151,7 +151,7 @@ void CloudTests::directoryDownloadedCallback(Cloud::Storage::FileArrayResponse r
if (response.value.size() == 0) {
Testsuite::logPrintf("Info! Directory is downloaded successfully!\n");
} else {
- Testsuite::logPrintf("Warning! %lu files were not downloaded during folder downloading!\n", response.value.size());
+ Testsuite::logPrintf("Warning! %u files were not downloaded during folder downloading!\n", response.value.size());
}
}