X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fdecompress_common.c;h=a490882d8542cd230877f6405ff34988ba98b322;hp=c2f76955c17043f2b39dcab98d9fdb7a59e36f7b;hb=c24f1c029572b67c7023aa06a7c24a46cf938367;hpb=d85424218ef1148204aac3289bbf4ba2c0da9255 diff --git a/src/decompress_common.c b/src/decompress_common.c index c2f76955..a490882d 100644 --- a/src/decompress_common.c +++ b/src/decompress_common.c @@ -281,7 +281,7 @@ make_huffman_decode_table(u16 decode_table[const], aliased_word_t *p; unsigned n; - BUILD_BUG_ON(WORDSIZE != 4 && WORDSIZE != 8); + STATIC_ASSERT(WORDSIZE == 4 || WORDSIZE == 8); v = MAKE_DIRECT_ENTRY(sorted_syms[sym_idx], codeword_len); v |= v << 16;