Fix -Werror=conversion in decode_bzip2.wuffs

This commit is contained in:
Nigel Tao committed 2022-05-24 13:58:48 +10:00
1 parent 3e93ffe175
commit f55274aaa7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -692,7 +692,7 @@ pri func decoder.build_huffman_table!(which: base.u32[..= 5]) {
bits ~mod<<= 1
n_bits += 1
} endwhile
this.huffman_tables[args.which][i] = child | (n_bits << 12)
this.huffman_tables[args.which][i] = (child | (n_bits << 12)) as base.u16
i += 1
} endwhile
}