From d8c7def3965ae0af8a756fdde1d4c120cae85502 Mon Sep 17 00:00:00 2001 From: Dennis Schridde Date: Thu, 26 Dec 2013 10:21:37 +0900 Subject: [PATCH] elm_mapbuf: fix format warning Reviewers: cedric Reviewed By: cedric CC: cedric Differential Revision: https://phab.enlightenment.org/D406 Signed-off-by: Cedric BAIL --- 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; } -- 2.7.4