use "I64u" instead of PRIu64 on Windows

This commit is contained in:
Tilka
2012-05-11 16:45:07 +02:00
parent 53b3087735
commit 274f17bce0
2 changed files with 4 additions and 3 deletions

View File

@@ -315,7 +315,7 @@ const char* uhub_ulltoa(uint64_t val)
{
static char buf[22];
return snprintf(buf, sizeof(buf), "%"PRIu64, val) < 0 ? NULL : buf;
return snprintf(buf, sizeof(buf), PRINTF_UINT64_T, val) < 0 ? NULL : buf;
}