Skip to content

Commit

Permalink
Merge pull request #266 from 06needhamt/Issue
Browse files Browse the repository at this point in the history
Fix Issue #265
  • Loading branch information
nlohmann committed Jun 14, 2016
2 parents 39213bf + fb90388 commit 9eb86e1
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 9eb86e1

Please sign in to comment.