From e088f592bd82f5c3863368f49eabd3e8afffe119 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 19 May 2011 11:54:03 +0000 Subject: Fix some compile warnings. --- source/blender/imbuf/intern/png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/imbuf/intern/png.c') diff --git a/source/blender/imbuf/intern/png.c b/source/blender/imbuf/intern/png.c index 6b6dcdb88af..f0c06ec0ae7 100644 --- a/source/blender/imbuf/intern/png.c +++ b/source/blender/imbuf/intern/png.c @@ -391,7 +391,7 @@ struct ImBuf *imb_loadpng(unsigned char *mem, size_t size, int flags) if (png_get_valid (png_ptr, info_ptr, PNG_INFO_pHYs)) { int unit_type; - unsigned int xres, yres; + png_uint_32 xres, yres; if(png_get_pHYs(png_ptr, info_ptr, &xres, &yres, &unit_type)) if(unit_type == PNG_RESOLUTION_METER) { -- cgit v1.2.3