Enlightenment CVS committal

Author  : barbieri
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/lib


Modified Files:
        edje_data.c 


Log Message:
Fix warnings about Edje's usage of Eet_Data_Descriptor_Class.

Couple of casts to shut up gcc.


===================================================================
RCS file: /cvs/e/e17/libs/edje/src/lib/edje_data.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -3 -r1.46 -r1.47
--- edje_data.c 7 Jun 2008 10:06:13 -0000       1.46
+++ edje_data.c 14 Aug 2008 18:10:26 -0000      1.47
@@ -81,15 +81,15 @@
    eddc.version = EET_DATA_DESCRIPTOR_CLASS_VERSION;
    eddc.func.mem_alloc = NULL;
    eddc.func.mem_free = NULL;
-   eddc.func.str_alloc = evas_stringshare_add;
+   eddc.func.str_alloc = (char *(*)(const char *))evas_stringshare_add;
    eddc.func.str_free = evas_stringshare_del;
-   eddc.func.list_next = evas_list_next;
-   eddc.func.list_append = evas_list_append;
-   eddc.func.list_data = evas_list_data;
-   eddc.func.list_free = evas_list_free;
-   eddc.func.hash_foreach = evas_hash_foreach;
-   eddc.func.hash_add = evas_hash_add;
-   eddc.func.hash_free = evas_hash_free;
+   eddc.func.list_next = (void *(*)(void *))evas_list_next;
+   eddc.func.list_append = (void *(*)(void *, void *))evas_list_append;
+   eddc.func.list_data = (void *(*)(void *))evas_list_data;
+   eddc.func.list_free = (void *(*)(void *))evas_list_free;
+   eddc.func.hash_foreach = (void (*)(void *, int (*)(void *, const char *, 
void *, void *), void *))evas_hash_foreach;
+   eddc.func.hash_add = (void *(*)(void *, const char *, void *))evas_hash_add;
+   eddc.func.hash_free = (void (*)(void *))evas_hash_free;
    eddc.func.str_direct_alloc = _edje_str_direct_alloc;
    eddc.func.str_direct_free = _edje_str_direct_free;
 



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to