cedric pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=d8c7def3965ae0af8a756fdde1d4c120cae85502
commit d8c7def3965ae0af8a756fdde1d4c120cae85502 Author: Dennis Schridde <[email protected]> Date: Thu Dec 26 10:21:37 2013 +0900 elm_mapbuf: fix format warning Reviewers: cedric Reviewed By: cedric CC: cedric Differential Revision: https://phab.enlightenment.org/D406 Signed-off-by: Cedric BAIL <[email protected]> --- src/lib/elm_mapbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_mapbuf.c b/src/lib/elm_mapbuf.c index d9ab0dc..ae2b4f9 100644 --- a/src/lib/elm_mapbuf.c +++ b/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; } --
