Fix printf format string to use unsigned instead of signed

This commit is contained in:
Jeffrey Pfau 2014-10-08 01:04:19 -07:00
parent 0b91681b2a
commit b12f7a136e
1 changed files with 2 additions and 2 deletions

View File

@ -96,9 +96,9 @@ int main(int argc, char** argv) {
} 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;