summaryrefslogtreecommitdiff
path: root/legacy/edje/src/lib/edje_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/edje/src/lib/edje_text.c')
-rw-r--r--legacy/edje/src/lib/edje_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/edje/src/lib/edje_text.c b/legacy/edje/src/lib/edje_text.c
index 67a5c5c..25882e5 100644
--- a/legacy/edje/src/lib/edje_text.c
+++ b/legacy/edje/src/lib/edje_text.c
@@ -283,7 +283,7 @@ _edje_text_font_get(const char *base, const char *new, char **free_later)
283 283
284 font_len = strlen(new); 284 font_len = strlen(new);
285 aux = strchr(base_style, ','); 285 aux = strchr(base_style, ',');
286 style_len = (aux) ? (aux - base_style) : strlen(base_style); 286 style_len = (aux) ? (size_t)(aux - base_style) : strlen(base_style);
287 287
288 *free_later = malloc(font_len + style_len + 1); 288 *free_later = malloc(font_len + style_len + 1);
289 memcpy(*free_later, new, font_len); 289 memcpy(*free_later, new, font_len);