diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-04 01:02:34 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-04 01:02:34 +0200 |
commit | fc5ff7b56e0e0797570eba81a39e13d40aaccb40 (patch) | |
tree | 2217f1aedcd3d650da53398019159d31d900e559 /fitz/filt_dctd.c | |
parent | 68769d87e0c7fa0a365447d690eca45e48748bc4 (diff) | |
download | mupdf-fc5ff7b56e0e0797570eba81a39e13d40aaccb40.tar.xz |
Incorporate small fixes from SumatraPDF.
Diffstat (limited to 'fitz/filt_dctd.c')
-rw-r--r-- | fitz/filt_dctd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/filt_dctd.c b/fitz/filt_dctd.c index 97651297..05c3db4d 100644 --- a/fitz/filt_dctd.c +++ b/fitz/filt_dctd.c @@ -64,7 +64,7 @@ static void skip_input_data(j_decompress_ptr cinfo, long num_bytes) struct jpeg_source_mgr *src = cinfo->src; if (num_bytes > 0) { - while (num_bytes > src->bytes_in_buffer) + while ((size_t)num_bytes > src->bytes_in_buffer) { num_bytes -= src->bytes_in_buffer; (void) src->fill_input_buffer(cinfo); |