Permalink
Browse files

fix spurious PNG-image-too-big errors, thanks to Niels Horn

  • Loading branch information...
1 parent 4cadb65 commit fd5c2705825762a6361fbcf95099a42471d709d7 Lawrence D'Oliveiro committed Jun 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/subgen-image.c
View
@@ -233,7 +233,7 @@ static int read_png(pict *s)
png_struct *ps;
png_info *pi;
png_byte **rowp;
- unsigned long width,height;
+ png_uint_32 width,height;
int bit_depth,color_type,channels,x,y;
fp=fopen(s->fname,"rb");

0 comments on commit fd5c270

Please sign in to comment.