Commit 92547ff9 authored by Paul Eggert's avatar Paul Eggert

* image.c (jpeg_memory_src): Don't assume string len fits in unsigned.

parent 44677e30
2012-09-12 Paul Eggert <eggert@cs.ucla.edu>
* image.c (jpeg_memory_src): Don't assume string len fits in unsigned.
2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
* eval.c: Add `inhibit-debugger'.
......
......@@ -6181,7 +6181,7 @@ our_memory_skip_input_data (j_decompress_ptr cinfo, long int num_bytes)
reading the image. */
static void
jpeg_memory_src (j_decompress_ptr cinfo, JOCTET *data, unsigned int len)
jpeg_memory_src (j_decompress_ptr cinfo, JOCTET *data, ptrdiff_t len)
{
struct jpeg_source_mgr *src;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment