X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fcompress.c;h=b25938f15d5dacda8fe590163eefe9483a5b7bef;hp=e7e199149edc7574bd258e605d2ed27a41b54cb3;hb=5123a1ae75747ddc4984bfe104c75e3974cede35;hpb=30ba1eb06caca0b20a47d8dd75a117c82d730da7 diff --git a/src/compress.c b/src/compress.c index e7e19914..b25938f1 100644 --- a/src/compress.c +++ b/src/compress.c @@ -38,7 +38,7 @@ static inline void flush_bits(struct output_bitstream *ostream) { - *(u16*)ostream->bit_output = cpu_to_le16(ostream->bitbuf); + *(le16*)ostream->bit_output = cpu_to_le16(ostream->bitbuf); ostream->bit_output = ostream->next_bit_output; ostream->next_bit_output = ostream->output; ostream->output += 2;