elm_mapbuf: fix format warning

Reviewers: cedric

Reviewed By: cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D406

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
This commit is contained in:
Dennis Schridde 2013-12-26 10:21:37 +09:00 committed by Cedric BAIL
parent fe569b0601
commit 38f1626773
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}