From b9afdf190dbccbf3a59a3aba86eb295c0fa07068 Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Sun, 21 Aug 2016 19:58:43 -0500 Subject: [PATCH] Use int64_t for 64bit ints resolves #509 --- include/json/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/json/config.h b/include/json/config.h index 085bdc0..6519101 100644 --- a/include/json/config.h +++ b/include/json/config.h @@ -152,8 +152,8 @@ typedef unsigned int LargestUInt; typedef __int64 Int64; typedef unsigned __int64 UInt64; #else // if defined(_MSC_VER) // Other platforms, use long long -typedef long long int Int64; -typedef unsigned long long int UInt64; +typedef int64_t Int64; +typedef uint64_t UInt64; #endif // if defined(_MSC_VER) typedef Int64 LargestInt; typedef UInt64 LargestUInt;