summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-01-26 11:20:32 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-01-26 11:22:33 +0100
commit154e5103c676ac01bde3a2452bdaaf861b1e24de (patch)
treeca84bc939279aec48496fb44c3b6123b84324f24 /src/modules
parent0a758d10c9f115def7043aed93547bf4876f99fe (diff)
evas: fix signed/unsigned warning.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/image_loaders/bmp/evas_image_load_bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/image_loaders/bmp/evas_image_load_bmp.c b/src/modules/evas/image_loaders/bmp/evas_image_load_bmp.c
index cf8156dc20..c0d25e3c01 100644
--- a/src/modules/evas/image_loaders/bmp/evas_image_load_bmp.c
+++ b/src/modules/evas/image_loaders/bmp/evas_image_load_bmp.c
@@ -564,7 +564,7 @@ evas_image_load_file_data_bmp(void *loader_data,
564 564
565 if ((scale_ratio == 1) || (header.comp !=0)) 565 if ((scale_ratio == 1) || (header.comp !=0))
566 { 566 {
567 if (image_size < fsize - position) 567 if (image_size < (int) fsize - position)
568 image_size = fsize - position; 568 image_size = fsize - position;
569 buffer = malloc(image_size + 8); // add 8 for padding to avoid checks 569 buffer = malloc(image_size + 8); // add 8 for padding to avoid checks
570 } 570 }