From c66c9fccf3b7d326cb867de07a4fee67042e44e1 Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Tue, 24 Feb 2015 17:06:57 +0000 Subject: PNG: add more volatile to appease GCC --- image/png.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'image') diff --git a/image/png.c b/image/png.c index 0f9b9cbc6..acf375e14 100644 --- a/image/png.c +++ b/image/png.c @@ -431,10 +431,10 @@ png_cache_convert(struct content *c) png_structp png_ptr; png_infop info_ptr; png_infop end_info_ptr; - volatile struct bitmap *bitmap = NULL; + volatile struct bitmap * volatile bitmap = NULL; struct png_cache_read_data_s png_cache_read_data; png_uint_32 width, height; - volatile png_bytep *row_pointers = NULL; + volatile png_bytep * volatile row_pointers = NULL; png_cache_read_data.data = content__get_source_data(c, &png_cache_read_data.size); -- cgit v1.2.3