Fixed issue #199
This commit is contained in:
parent
ff6f723195
commit
561accb068
3 changed files with 383 additions and 786 deletions
1157
src/json.hpp
1157
src/json.hpp
File diff suppressed because it is too large
Load diff
|
|
@ -7478,7 +7478,7 @@ class basic_json
|
|||
// Negative, parse with strtoll and attempt cast to
|
||||
// number_integer_t
|
||||
if (attempt_cast(std::strtoll(reinterpret_cast<typename string_t::const_pointer>(m_start), &endptr,
|
||||
10), result.m_value.number_unsigned))
|
||||
10), result.m_value.number_integer))
|
||||
{
|
||||
result.m_type = value_t::number_integer;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue