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
@@ -25910,7 +25910,7 @@ wuffs_bzip2__decoder__build_huffman_table(
#pragma GCC diagnostic pop
#endif
}
self->private_data.f_huffman_tables[a_which][v_i] = (v_child | (v_n_bits << 12));
self->private_data.f_huffman_tables[a_which][v_i] = ((uint16_t)((v_child | (v_n_bits << 12))));
v_i += 1;
}
return wuffs_base__make_empty_struct();