From 8318d81ada86d4ec8e343c47103932b6bbe45a42 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 24 Jun 2012 15:26:28 -0400 Subject: Fix and test support for files >= 4 GB --- libqpdf/bits.icc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libqpdf/bits.icc') 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) { -- cgit v1.2.3-54-g00ecf