mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Fix jsonptr's JSON output for CBOR simple values
This commit is contained in:
1 parent
983a74f257
commit
35c4e9532b
1 file changed
+1
-1
@@ -1122,7 +1122,7 @@ write_cbor_simple_value(uint64_t tag, wuffs_base__slice_u8 s) {
|
||||
}
|
||||
|
||||
if (!g_flags.output_cbor_metadata_as_json_comments) {
|
||||
return nullptr;
|
||||
return write_dst("null", 4);
|
||||
}
|
||||
uint8_t buf[WUFFS_BASE__U64__BYTE_LENGTH__MAX_INCL];
|
||||
size_t n = wuffs_base__render_number_u64(
|
||||
|
||||
Reference in new issue
Block a user