diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-05-19 15:54:03 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-05-19 15:54:03 +0400 |
commit | e088f592bd82f5c3863368f49eabd3e8afffe119 (patch) | |
tree | 167c00f8e6367eccc70c7492068e8544d0864cc2 /source/blender/imbuf/intern/png.c | |
parent | 417b7836ece014bdabd1493e2c06ea6ed530e939 (diff) |
Fix some compile warnings.
Diffstat (limited to 'source/blender/imbuf/intern/png.c')
-rw-r--r-- | source/blender/imbuf/intern/png.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |