summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2020-02-14 13:42:43 +0900
committerHermet Park <hermetpark@gmail.com>2020-02-14 13:42:43 +0900
commit570a4c94ad36a1f76a79beb8406a5dc6915b6855 (patch)
tree34be08ce5ce4f6ac7197f3f09ab8cb9f6e9d280e /src
parent63d1b32e6212fea96033c2c6200805b9ab7e948d (diff)
image loaders pmaps: decide data size at the compile time.
Diffstat (limited to 'src')
-rw-r--r--src/modules/evas/image_loaders/pmaps/evas_image_load_pmaps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/image_loaders/pmaps/evas_image_load_pmaps.c b/src/modules/evas/image_loaders/pmaps/evas_image_load_pmaps.c
index a541e4dcb6..0f63f2cc9f 100644
--- a/src/modules/evas/image_loaders/pmaps/evas_image_load_pmaps.c
+++ b/src/modules/evas/image_loaders/pmaps/evas_image_load_pmaps.c
@@ -151,7 +151,7 @@ evas_image_load_file_data_pmaps(void *loader_data,
151 } 151 }
152 152
153 /* if there are some pix missing, give them a proper default */ 153 /* if there are some pix missing, give them a proper default */
154 memset(ptr, 0xff, 4 * size); 154 memset(ptr, 0xff, sizeof(DATA32) * size);
155 *error = EVAS_LOAD_ERROR_NONE; 155 *error = EVAS_LOAD_ERROR_NONE;
156 r = EINA_TRUE; 156 r = EINA_TRUE;
157 157