From: Dennis Schridde Date: Thu, 26 Dec 2013 01:21:37 +0000 (+0900) Subject: elm_mapbuf: fix format warning X-Git-Tag: upstream/1.20.0~7116^2~14^2~3561 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38f16267731a7836b0d30ffb62ff769d636e8125;p=platform%2Fupstream%2Fefl.git elm_mapbuf: fix format warning Reviewers: cedric Reviewed By: cedric CC: cedric Differential Revision: https://phab.enlightenment.org/D406 Signed-off-by: Cedric BAIL --- diff --git a/legacy/elementary/src/lib/elm_mapbuf.c b/legacy/elementary/src/lib/elm_mapbuf.c index d9ab0dc..ae2b4f9 100644 --- a/legacy/elementary/src/lib/elm_mapbuf.c +++ b/legacy/elementary/src/lib/elm_mapbuf.c @@ -531,7 +531,7 @@ elm_mapbuf_point_color_get(Evas_Object *obj, int idx, if ((idx < 0) || (idx >= (int)(sizeof(sd->colors)/sizeof(sd->colors[0])))) { - ERR("idx value should be 0 ~ %d, mapbuf(%p)", + ERR("idx value should be 0 ~ %zd, mapbuf(%p)", ((sizeof(sd->colors)/sizeof(sd->colors[0])) - 1), obj); return; } @@ -567,7 +567,7 @@ elm_mapbuf_point_color_set(Evas_Object *obj, int idx, if ((idx < 0) || (idx >= (int)(sizeof(sd->colors)/sizeof(sd->colors[0])))) { - ERR("idx value should be 0 ~ %d, mapbuf(%p)", + ERR("idx value should be 0 ~ %zd, mapbuf(%p)", ((sizeof(sd->colors)/sizeof(sd->colors[0])) - 1), obj); return; }