Commit 5adf60bc authored by Paul Eggert's avatar Paul Eggert
Browse files

* image.c (png_load): Don't assume height * row_bytes fits in 'int'.

parent 2b64ccd2
2011-07-13 Paul Eggert <eggert@cs.ucla.edu>
* image.c (png_load): Don't assume height * row_bytes fits in 'int'.
2011-07-12 Paul Eggert <eggert@cs.ucla.edu>
* bidi.c (bidi_dump_cached_states): Use pD to print ptrdiff_t.
......
......@@ -5558,7 +5558,8 @@ png_load (struct frame *f, struct image *img)
{
Lisp_Object file, specified_file;
Lisp_Object specified_data;
int x, y, i;
int x, y;
ptrdiff_t i;
XImagePtr ximg, mask_img = NULL;
png_struct *png_ptr = NULL;
png_info *info_ptr = NULL, *end_info = NULL;
......
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