From 3701b41ac9486b6a56d9b5416966dc91918c6fbd Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Mon, 14 Jan 2013 18:34:23 +0000 Subject: [PATCH] fix compile warnings. the NULL is just to shut gcc being stupid. SVN revision: 82774 --- src/lib/eet/eet_image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/eet/eet_image.c b/src/lib/eet/eet_image.c index 6eb59da545..37ab54042f 100644 --- a/src/lib/eet/eet_image.c +++ b/src/lib/eet/eet_image.c @@ -727,7 +727,7 @@ eet_data_image_lossless_compressed_convert(int *size, { unsigned char *d, *comp; - int *header, *bigend_data, ret, ok = 1; + int *header, *bigend_data = NULL, ret, ok = 1; uLongf buflen = 0; buflen = (((w * h * 101) / 100) + 3) * 4; @@ -736,7 +736,7 @@ eet_data_image_lossless_compressed_convert(int *size, if (_eet_image_words_bigendian) { - int i; + unsigned int i; bigend_data = (int *) malloc(w * h * 4); if (!bigend_data) return NULL; -- 2.34.1