Browse Source

Windows doesn't have %lld

tags/v1.4.90
Pierre Ossman 9 years ago
parent
commit
7d218b08a3
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      tests/encperf.cxx

+ 5
- 0
tests/encperf.cxx View 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;

Loading…
Cancel
Save