Fix -Werror=conversion in std/cbor decode_tokens

This commit is contained in:
Nigel Tao committed 2020-07-25 00:03:54 +10:00
1 parent a9668877b2
commit 137ca3ed73
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -16512,7 +16512,7 @@ wuffs_cbor__decoder__decode_tokens(
goto label__goto_parsed_a_leaf_value__break;
}
(iop_a_src += 1, wuffs_base__make_empty_struct());
v_c_major = (v_c >> 5);
v_c_major = ((uint8_t)((v_c >> 5)));
v_c_minor = (v_c & 31);
if (v_c_minor < 24) {
v_string_length = ((uint64_t)(v_c_minor));