summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-Handles.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-Handles.cc b/tests/test-Handles.cc
index d64fe9b..847cb24 100644
--- a/tests/test-Handles.cc
+++ b/tests/test-Handles.cc
@@ -30,7 +30,7 @@ void MainTask::Do() {
TAssert(failed);
IO<Handle> i(new Input("tests/rtest.txt"));
Printer::log(M_STATUS, "Opened file %s:", i->getName());
- Printer::log(M_STATUS, " - size = %lli", i->getSize());
+ Printer::log(M_STATUS, " - size = %" PRIi64, i->getSize());
char mtimestr[32];
time_t mtime = i->getMTime();
@@ -50,7 +50,7 @@ void MainTask::Do() {
i->rseek(0, SEEK_SET);
char * buf1 = (char *) malloc(i->getSize());
ssize_t r = i->read(buf1, s + 15);
- Printer::log(M_STATUS, "Read %zi bytes (instead of %lli)", r, s + 15);
+ Printer::log(M_STATUS, "Read %zi bytes (instead of %" PRIi64 ")", r, s + 15);
TAssert(i->isEOF())
char * buf2 = (char *) malloc(i->getSize());