Enlightenment CVS committal

Author  : titan
Project : e17
Module  : proto

Dir     : e17/proto/ephoto/src


Modified Files:
        ephoto_browsing.c 


Log Message:

This fixes the warnings. Ephoto is now warning free.

===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_browsing.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- ephoto_browsing.c   23 May 2006 01:07:26 -0000      1.34
+++ ephoto_browsing.c   24 May 2006 21:11:07 -0000      1.35
@@ -291,7 +291,7 @@
        /*******Move to parent directory in the image tree*******/
        if ( w == m->texta ) {
                pathi = ewl_widget_name_get(w);
-               upname = dirname(pathi);
+               upname = dirname((char *)pathi);
                ewl_text_text_set(EWL_TEXT(m->directorya), upname);
                ewl_callback_call(m->directorya, EWL_CALLBACK_VALUE_CHANGED);
        }
@@ -299,7 +299,7 @@
        /******Move to parent directory in the audio tree*******/
        if ( w == m->texti ) {
                pathi = ewl_widget_name_get(w);
-               upname = dirname(pathi);
+               upname = dirname((char *)pathi);
                ewl_text_text_set(EWL_TEXT(m->directory), upname);
                ewl_callback_call(m->directory, EWL_CALLBACK_VALUE_CHANGED);
        }
@@ -450,11 +450,11 @@
 audio_cb(Ewl_Widget *w, void *event, void *data)
 {
        /****Setup variables for adding audio to the slideshow****/
-       const char *name;
+       char *name;
        const char *pathi;
        /*********************************************************/
        pathi = ewl_widget_name_get(w);
-       name = basename(pathi);
+       name = basename((char *)pathi);
        /****Set Audio in slideshow settings****/
        ewl_text_text_set(EWL_TEXT(m->atext), name);
        /***************************************/




-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to