blob: 0f428347f9816233b0ad80bf38c719b9b01e394e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-jpeg__decode.c,v 1.2 2016/03/25 21:12:57 joerg Exp $
* To match prototype from jpeg>=9 libary
--- jpeg_decode.c.orig 2004-01-13 16:40:32.000000000 +0000
+++ jpeg_decode.c
@@ -82,7 +82,7 @@ term_mem_source (j_decompress_ptr cinfo)
GLOBAL(void)
-jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * source_ptr, size_t source_length)
+jpeg_mem_src (j_decompress_ptr cinfo, const unsigned char * source_ptr, unsigned long source_length)
{
mem_src_ptr src;
|