SHA256
1
0
forked from pool/xemacs
xemacs/xemacs-libpng15.patch
2012-03-02 16:42:18 +00:00

15 lines
543 B
Diff

Index: xemacs-21.5.31/glyphs-eimage.c
===================================================================
--- xemacs-21.5.31/src/glyphs-eimage.c
+++ xemacs-21.5.31/src/glyphs-eimage.c
@@ -911,7 +911,8 @@ png_instantiate (Lisp_Object image_insta
Lisp_Image_Instance *ii = XIMAGE_INSTANCE (image_instance);
struct png_unwind_data unwind;
int speccount = specpdl_depth ();
- int height, width;
+ png_uint_32 height, width;
+ int bit_depth, color_type;
struct png_memory_storage tbr; /* Data to be read */
/* PNG variables */