elm_mapbuf: fix format warning
authorDennis Schridde <devurandom@gmx.net>
Thu, 26 Dec 2013 01:21:37 +0000 (10:21 +0900)
committerCedric BAIL <cedric.bail@samsung.com>
Thu, 26 Dec 2013 01:21:49 +0000 (10:21 +0900)
Reviewers: cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
legacy/elementary/src/lib/elm_mapbuf.c

index d9ab0dc..ae2b4f9 100644 (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;
      }