aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/bits.icc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/bits.icc')
-rw-r--r--libqpdf/bits.icc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/bits.icc b/libqpdf/bits.icc
index e6abdf0e..31765986 100644
--- a/libqpdf/bits.icc
+++ b/libqpdf/bits.icc
@@ -95,7 +95,7 @@ read_bits(unsigned char const*& p, unsigned int& bit_offset,
#ifdef BITS_WRITE
static void
write_bits(unsigned char& ch, unsigned int& bit_offset,
- unsigned long val, unsigned bits, Pipeline* pipeline)
+ unsigned long val, unsigned int bits, Pipeline* pipeline)
{
if (bits > 32)
{