From d8d45908fa6c572c661ba51132da87a3bc10c640 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 23 May 2017 00:26:12 -0400 Subject: building with mingw for windows --- src/bignum.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/bignum.cpp') diff --git a/src/bignum.cpp b/src/bignum.cpp index bbd1a6c92d..e963b71ba3 100644 --- a/src/bignum.cpp +++ b/src/bignum.cpp @@ -7,6 +7,7 @@ #include "bignum.hpp" #include "buffer.hpp" +#include "os.hpp" #include #include @@ -350,7 +351,7 @@ Buf *bignum_to_buf(BigNum *bn) { return buf_sprintf("%f", bn->data.x_float); } else { const char *neg = bn->is_negative ? "-" : ""; - return buf_sprintf("%s%llu", neg, bn->data.x_uint); + return buf_sprintf("%s%" ZIG_PRI_llu "", neg, bn->data.x_uint); } } -- cgit v1.2.3