evas-image-loaders: Fix compiler warning of comparison between signed

and unsigned values

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-01-27 11:03:41 -05:00
parent adc9cbce26
commit 17a47136c9
1 changed files with 1 additions and 1 deletions

View File

@ -564,7 +564,7 @@ evas_image_load_file_data_bmp(void *loader_data,
if ((scale_ratio == 1) || (header.comp !=0))
{
if (image_size < (int) fsize - position)
if (image_size < (int)(fsize - position))
image_size = fsize - position;
buffer = malloc(image_size + 8); // add 8 for padding to avoid checks
}