projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2a6e45
)
fix compile warnings.
author
Gustavo Sverzut Barbieri
<barbieri@gmail.com>
Mon, 14 Jan 2013 18:34:23 +0000
(18:34 +0000)
committer
Gustavo Sverzut Barbieri
<barbieri@gmail.com>
Mon, 14 Jan 2013 18:34:23 +0000
(18:34 +0000)
the NULL is just to shut gcc being stupid.
SVN revision: 82774
src/lib/eet/eet_image.c
patch
|
blob
|
history
diff --git
a/src/lib/eet/eet_image.c
b/src/lib/eet/eet_image.c
index
6eb59da
..
37ab540
100644
(file)
--- 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;