image loaders pmaps: decide data size at the compile time.

This commit is contained in:
Hermet Park 2020-02-14 13:42:43 +09:00
parent 63d1b32e62
commit 570a4c94ad
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ evas_image_load_file_data_pmaps(void *loader_data,
}
/* if there are some pix missing, give them a proper default */
memset(ptr, 0xff, 4 * size);
memset(ptr, 0xff, sizeof(DATA32) * size);
*error = EVAS_LOAD_ERROR_NONE;
r = EINA_TRUE;