forked from enlightenment/efl
evas: fix signed/unsigned warning.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
0a758d10c9
commit
154e5103c6
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue