🚨 fixed warning #1364

parent da81e7be
......@@ -241,7 +241,7 @@ class binary_reader
case 0x08: // boolean
{
return sax->boolean(static_cast<bool>(get()));
return sax->boolean(get() != 0);
}
case 0x0A: // null
......
......@@ -6582,7 +6582,7 @@ class binary_reader
case 0x08: // boolean
{
return sax->boolean(static_cast<bool>(get()));
return sax->boolean(get() != 0);
}
case 0x0A: // null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment