]> source.dussan.org Git - tigervnc.git/commitdiff
Windows doesn't have %lld
authorPierre Ossman <ossman@cendio.se>
Tue, 3 Mar 2015 15:43:05 +0000 (16:43 +0100)
committerPierre Ossman <ossman@cendio.se>
Tue, 3 Mar 2015 15:43:05 +0000 (16:43 +0100)
tests/encperf.cxx

index 062073815a78859784e2d69306b587968dd3a5ed..9b632e7850d262b09b92dc6110332856be23d03f 100644 (file)
@@ -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;