Skip to content

Commit

Permalink
Fix Issue #265
Browse files Browse the repository at this point in the history
  • Loading branch information
06needhamt committed Jun 14, 2016
1 parent 39213bf commit fb90388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8504,7 +8504,7 @@ class basic_json
else
{
type = value_t::number_unsigned;
max = static_cast<uint64_t>((std::numeric_limits<number_unsigned_t>::max()));
max = static_cast<uint64_t>((std::numeric_limits<number_unsigned_t>::max)());
}

// count the significant figures
Expand Down
2 changes: 1 addition & 1 deletion src/json.hpp.re2c
Original file line number Diff line number Diff line change
Expand Up @@ -7814,7 +7814,7 @@ class basic_json
else
{
type = value_t::number_unsigned;
max = static_cast<uint64_t>((std::numeric_limits<number_unsigned_t>::max()));
max = static_cast<uint64_t>((std::numeric_limits<number_unsigned_t>::max)());
}

// count the significant figures
Expand Down

0 comments on commit fb90388

Please sign in to comment.