]> wimlib.net Git - wimlib/blobdiff - src/compress_common.c
Get rid of input_idx_t
[wimlib] / src / compress_common.c
index bdac4ed99657aa5617360ccb105e420caa0e9650..1653b04f2362db20838447442149badb09707c58 100644 (file)
@@ -80,11 +80,11 @@ bitstream_put_byte(struct output_bitstream *ostream, u8 n)
  *
  * Returns -1 if the stream has overrun; otherwise returns the total number of
  * bytes in the output.  */
-input_idx_t
+u32
 flush_output_bitstream(struct output_bitstream *ostream)
 {
        if (unlikely(ostream->overrun))
-               return ~(input_idx_t)0;
+               return (u32)~0UL;
 
        *(le16*)ostream->bit_output =
                cpu_to_le16((u16)((u32)ostream->bitbuf << ostream->free_bits));