🚨 fixed warning #1364
This commit is contained in:
parent
da81e7be22
commit
ef90d62ddf
2 changed files with 2 additions and 2 deletions
|
@ -241,7 +241,7 @@ class binary_reader
|
||||||
|
|
||||||
case 0x08: // boolean
|
case 0x08: // boolean
|
||||||
{
|
{
|
||||||
return sax->boolean(static_cast<bool>(get()));
|
return sax->boolean(get() != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
case 0x0A: // null
|
case 0x0A: // null
|
||||||
|
|
|
@ -6582,7 +6582,7 @@ class binary_reader
|
||||||
|
|
||||||
case 0x08: // boolean
|
case 0x08: // boolean
|
||||||
{
|
{
|
||||||
return sax->boolean(static_cast<bool>(get()));
|
return sax->boolean(get() != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
case 0x0A: // null
|
case 0x0A: // null
|
||||||
|
|
Loading…
Reference in a new issue