mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
Fix -Werror=conversion in std/cbor decode_tokens
This commit is contained in:
1 parent
a9668877b2
commit
137ca3ed73
2 files changed
+2
-2
No files matched your search
@@ -157,7 +157,7 @@ pub func decoder.decode_tokens?(dst: base.token_writer, src: base.io_reader, wor
|
||||
}
|
||||
|
||||
args.src.skip_u32_fast!(actual: 1, worst_case: 1)
|
||||
c_major = c >> 5
|
||||
c_major = (c >> 5) as base.u8
|
||||
c_minor = c & 0x1F
|
||||
if c_minor < 0x18 {
|
||||
string_length = c_minor as base.u64
|
||||
|
||||
Reference in new issue
Block a user