🐛 fix bug in SAX callback parser
This commit is contained in:
parent
cf4a6552f3
commit
f0c6ab4d3b
5 changed files with 58 additions and 66 deletions
|
|
@ -2794,7 +2794,7 @@ class basic_json
|
|||
/// get a pointer to the value (binary)
|
||||
binary_t* get_impl_ptr(binary_t* /*unused*/) noexcept
|
||||
{
|
||||
return is_binary() ? m_value.binary : nullptr;
|
||||
return is_binary() ? reinterpret_cast<binary_t*>(m_value.binary) : nullptr;
|
||||
}
|
||||
|
||||
/// get a pointer to the value (binary)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue