From 38f16267731a7836b0d30ffb62ff769d636e8125 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 --- legacy/elementary/src/lib/elm_mapbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/elementary/src/lib/elm_mapbuf.c b/legacy/elementary/src/lib/elm_mapbuf.c index d9ab0dcd34..ae2b4f9a13 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; }