compress.c, decompress.h: Use correct little endian annotations
[wimlib] / src / compress.c
index e7e199149edc7574bd258e605d2ed27a41b54cb3..b25938f15d5dacda8fe590163eefe9483a5b7bef 100644 (file)
@@ -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;