Permalink
Browse files

Fix warning.

  • Loading branch information...
1 parent c5ae540 commit f81179844b6098b3d45ca64ca8e602cd55280ca5 @nominolo committed Sep 20, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 vm/jit.cc
View
@@ -12,6 +12,8 @@
#include <sstream>
#include <iomanip>
+#define __STDC_FORMAT_MACROS
+#include <inttypes.h>
_START_LAMBDACHINE_NAMESPACE
@@ -1054,7 +1056,7 @@ printLoggedNYIs(FILE *out)
{
for (uint32_t i = 0; i < NYI__MAX; ++i) {
if (nyiCount[i] > 0)
- fprintf(out, "%3lu x NYI: %s\n", nyiCount[i], nyiDescription[i]);
+ fprintf(out, "%"PRIu64" x NYI: %s\n", nyiCount[i], nyiDescription[i]);
}
}

0 comments on commit f811798

Please sign in to comment.