summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-01-27 11:03:41 -0500
committerChris Michael <cp.michael@samsung.com>2015-01-27 11:04:51 -0500
commit17a47136c99030135534f6dd0515d3234c2a52cf (patch)
tree4e256d61b7e7215116f08d0cfd956c6b0931b6a9 /src/modules
parentadc9cbce26b4513fc1a462b9533436641bc10fb2 (diff)
evas-image-loaders: Fix compiler warning of comparison between signed
and unsigned values @fix Signed-off-by: Chris Michael <cp.michael@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 c0d25e3c01..c6b98c913f 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 < (int) 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 }