diff --git a/stdlib/vsnprintf.c b/stdlib/vsnprintf.c index 284cc194..58de6515 100644 --- a/stdlib/vsnprintf.c +++ b/stdlib/vsnprintf.c @@ -22,8 +22,8 @@ int vsnprintf(char *str, size_t size, const char *format, va_list ap) int rv, bytes; if (size > BUFFER_SIZE) { - nasm_panic("vsnprintf: size (%d) > BUFFER_SIZE (%d)", - size, BUFFER_SIZE); + nasm_panic("vsnprintf: size (%llu) > BUFFER_SIZE (%d)", + (unsigned long long)size, BUFFER_SIZE); size = BUFFER_SIZE; }