From 06398a22d0905e7e45ee7bdf4755aeee3b3fc1b0 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 16 Feb 2016 20:34:45 -0700 Subject: back to normal print specifiers disable warnings for format specifiers on mingw since the compiler emits bogus warnings --- src/bignum.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/bignum.cpp') diff --git a/src/bignum.cpp b/src/bignum.cpp index 3eaf3ac359..55c10e248e 100644 --- a/src/bignum.cpp +++ b/src/bignum.cpp @@ -265,8 +265,7 @@ Buf *bignum_to_buf(BigNum *bn) { return buf_sprintf("%f", bn->data.x_float); } else { const char *neg = bn->is_negative ? "-" : ""; - uintmax_t value = bn->data.x_uint; - return buf_sprintf("%s%" PRIuMAX, neg, value); + return buf_sprintf("%s%llu", neg, bn->data.x_uint); } } -- cgit v1.2.3