summaryrefslogtreecommitdiff
path: root/image/png.c
diff options
context:
space:
mode:
Diffstat (limited to 'image/png.c')
-rw-r--r--image/png.c4
1 files changed, 2 insertions, 2 deletions
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);