[store] Fix a warning
authorMike McCormack <mj.mccormack@samsung.com>
Fri, 11 Nov 2011 07:02:19 +0000 (16:02 +0900)
committerMike McCormack <mj.mccormack@samsung.com>
Fri, 11 Nov 2011 07:02:19 +0000 (16:02 +0900)
elm_store.c: In function '_item_job_add':
elm_store.c:1185:4: warning: passing argument 1 of 'ecore_job_add' from incompatible pointer type
/usr/include/ecore-1/Ecore.h:2298:1: note: expected 'Ecore_Cb' but argument is of type 'void (*)(struct Elm_Store_Item *)'

src/lib/elm_store.c

index 1e9faf4..74ae0ff 100644 (file)
@@ -1144,8 +1144,9 @@ _item_eval(void *data)
 }
 
 static void
-_item_realize(Elm_Store_Item *sti)
+_item_realize(void *data)
 {
+   Elm_Store_Item *sti = data;
    Elm_Store *st = sti->store;
    sti->eval_job = NULL;
    if (st->live)