dayselector: fix warning related to argument type
authorVivek Ellur <vivek.ellur@samsung.com>
Thu, 22 Oct 2015 19:37:44 +0000 (12:37 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 22 Oct 2015 19:37:47 +0000 (12:37 -0700)
Summary:
@fix

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/elm_dayselector.c

index 6f60147..0f76ab9 100644 (file)
@@ -401,7 +401,7 @@ _items_create(Evas_Object *obj)
         strftime(buf, sizeof(buf), "%a", &time_daysel);
         elm_object_text_set(chk, buf);
 
-        snprintf(buf, sizeof(buf), "day%d", idx);
+        snprintf(buf, sizeof(buf), "day%u", idx);
         elm_layout_content_set(obj, buf, chk);
 
         // XXX: ACCESS