From fb90388af5aa7ad67418573554af18a13bcb148f Mon Sep 17 00:00:00 2001 From: Tom Needham <06needhamt@gmail.com> Date: Tue, 14 Jun 2016 09:59:50 +0100 Subject: [PATCH] Fix Issue #265 --- src/json.hpp | 2 +- src/json.hpp.re2c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/json.hpp b/src/json.hpp index f66d0b590..cbb9e5f05 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -8504,7 +8504,7 @@ basic_json_parser_63: else { type = value_t::number_unsigned; - max = static_cast((std::numeric_limits::max())); + max = static_cast((std::numeric_limits::max)()); } // count the significant figures diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index f893aac0f..c60207f6f 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -7814,7 +7814,7 @@ class basic_json else { type = value_t::number_unsigned; - max = static_cast((std::numeric_limits::max())); + max = static_cast((std::numeric_limits::max)()); } // count the significant figures