summaryrefslogtreecommitdiff
path: root/test/backupstorepatch
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-09-02 11:03:48 +0000
committerChris Wilson <chris+github@qwirx.com>2006-09-02 11:03:48 +0000
commit18dc6c07753520a5464d6b385817b46f0839b1ef (patch)
treebf1222c005d74d97b0686756a080ef238a38f896 /test/backupstorepatch
parentb5a3da46888df6749712f8d1b04ef4393230b49a (diff)
(refs #3)
Fix format strings on Win32
Diffstat (limited to 'test/backupstorepatch')
-rw-r--r--test/backupstorepatch/testbackupstorepatch.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/backupstorepatch/testbackupstorepatch.cpp b/test/backupstorepatch/testbackupstorepatch.cpp
index 83ee2a8e..d14badc6 100644
--- a/test/backupstorepatch/testbackupstorepatch.cpp
+++ b/test/backupstorepatch/testbackupstorepatch.cpp
@@ -405,7 +405,13 @@ int test(int argc, const char *argv[])
// Store details
test_files[f].IDOnServer = stored->GetObjectID();
test_files[f].IsCompletelyDifferent = isCompletelyDifferent;
- printf("ID %lld, completely different: %s\n", test_files[f].IDOnServer,
+
+#ifdef WIN32
+ printf("ID %I64d, completely different: %s\n",
+#else
+ printf("ID %lld, completely different: %s\n",
+#endif
+ test_files[f].IDOnServer,
test_files[f].IsCompletelyDifferent?"yes":"no");
}
else