evas: fix signed/unsigned warning.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Cedric BAIL 2015-01-26 11:20:32 +01:00
parent 0a758d10c9
commit 154e5103c6
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 < fsize - position)
if (image_size < (int) fsize - position)
image_size = fsize - position;
buffer = malloc(image_size + 8); // add 8 for padding to avoid checks
}