Fix printf format string to use unsigned instead of signed
Jeffrey Pfau jeffrey@endrift.com
Wed, 08 Oct 2014 01:04:19 -0700
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/platform/perf-main.c
→
src/platform/perf-main.c
@@ -96,9 +96,9 @@ rendererName = "none";
} else { rendererName = "software"; } - printf("%s,%i,%lli,%s\n", gameCode, frames, duration, rendererName); + printf("%s,%i,%llu,%s\n", gameCode, frames, duration, rendererName); } else { - printf("%u frames in %lli microseconds: %g fps (%gx)\n", frames, duration, scaledFrames / duration, scaledFrames / (duration * 60.f)); + printf("%u frames in %llu microseconds: %g fps (%gx)\n", frames, duration, scaledFrames / duration, scaledFrames / (duration * 60.f)); } return 0;