🔨 overwork binary subtypes
This commit is contained in:
parent
ab6e76dd05
commit
dead99eb0e
8 changed files with 195 additions and 117 deletions
|
@ -658,7 +658,7 @@ class binary_writer
|
|||
// step 1.5: if this is an ext type, write the subtype
|
||||
if (use_ext)
|
||||
{
|
||||
write_number(j.m_value.binary->subtype());
|
||||
write_number(static_cast<std::int8_t>(j.m_value.binary->subtype()));
|
||||
}
|
||||
|
||||
// step 2: write the byte string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue