aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/bits.icc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/bits.icc')
-rw-r--r--libqpdf/bits.icc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libqpdf/bits.icc b/libqpdf/bits.icc
index 31765986..bcd7dd85 100644
--- a/libqpdf/bits.icc
+++ b/libqpdf/bits.icc
@@ -15,7 +15,7 @@
// this code includes with the symbol defined.
#ifdef BITS_READ
-static unsigned long
+static unsigned long long
read_bits(unsigned char const*& p, unsigned int& bit_offset,
unsigned int& bits_available, unsigned int bits_wanted)
{
@@ -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 int bits, Pipeline* pipeline)
+ unsigned long long val, unsigned int bits, Pipeline* pipeline)
{
if (bits > 32)
{