all repos — mgba @ b12f7a136ed7debf909dff89cbb9a27f6551d08f

mGBA Game Boy Advance Emulator

Fix printf format string to use unsigned instead of signed
Jeffrey Pfau jeffrey@endrift.com
Wed, 08 Oct 2014 01:04:19 -0700
commit

b12f7a136ed7debf909dff89cbb9a27f6551d08f

parent

0b91681b2aaa7c7fe08b06a9fe4a0d303084e45a

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/platform/perf-main.csrc/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;