From: Pierre Ossman Date: Tue, 3 Mar 2015 15:43:05 +0000 (+0100) Subject: Windows doesn't have %lld X-Git-Tag: v1.4.90~33^2~14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7d218b08a3da0a6d2bc277b642788f1d9c9fcaad;p=tigervnc.git Windows doesn't have %lld --- 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;