From 7d218b08a3da0a6d2bc277b642788f1d9c9fcaad Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 3 Mar 2015 16:43:05 +0100 Subject: [PATCH] Windows doesn't have %lld --- tests/encperf.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/encperf.cxx b/tests/encperf.cxx index 06207381..9b632e78 100644 --- a/tests/encperf.cxx +++ b/tests/encperf.cxx @@ -455,8 +455,13 @@ int main(int argc, char **argv) meddev = dev[runCount / 2]; printf("CPU time: %g s (+/- %g %%)\n", median, meddev); +#ifdef WIN32 + printf("Encoded bytes: %I64d\n", bytes); + printf("Raw equivalent bytes: %I64d\n", equivalent); +#else printf("Encoded bytes: %lld\n", bytes); printf("Raw equivalent bytes: %lld\n", equivalent); +#endif printf("Ratio: %g\n", ratio); return 0; -- 2.39.5