mirror of
https://github.com/nlohmann/json
synced 2024-12-02 00:20:06 +00:00
Fix Issue #265
This commit is contained in:
parent
39213bf34e
commit
fb90388af5
@ -8504,7 +8504,7 @@ basic_json_parser_63:
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
type = value_t::number_unsigned;
|
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
|
// count the significant figures
|
||||||
|
@ -7814,7 +7814,7 @@ class basic_json
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
type = value_t::number_unsigned;
|
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
|
// count the significant figures
|
||||||
|
Loading…
Reference in New Issue
Block a user