forked from enlightenment/efl
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:
parent
adc9cbce26
commit
17a47136c9
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue