summaryrefslogtreecommitdiff
path: root/legacy/edje/src/lib
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-01-16 03:31:05 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-01-16 03:31:05 +0000
commit6faa8b35546ddfc0897a2d2c728bef0edea4c485 (patch)
tree37f762f5652e8f17afc4490927b451368dd9a382 /legacy/edje/src/lib
parent94ce85a68f47929823b34fbdcae48dadc1909b73 (diff)
warning--
SVN revision: 56164
Diffstat (limited to 'legacy/edje/src/lib')
-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);