Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_fm_main.c 


Log Message:
Fix compiler warnings.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_fm_main.c 11 Mar 2007 05:54:07 -0000      1.2
+++ e_fm_main.c 13 Mar 2007 16:34:37 -0000      1.3
@@ -258,7 +258,7 @@
                    ped->mon_ref++;
                  _e_dirs = evas_list_append(_e_dirs, ed);
                  
-                 while (dp = readdir(dir))
+                 while ((dp = readdir(dir)))
                    {
                       if ((!strcmp(dp->d_name, ".")) || (!strcmp(dp->d_name, 
"..")))
                         continue;
@@ -268,7 +268,7 @@
                  closedir(dir);
                  if (dot_order)
                    {
-                      snprintf(buf, sizeof(buf), "%s/.order", e->data);
+                      snprintf(buf, sizeof(buf), "%s/.order", (char *)e->data);
                       f = fopen(buf, "r");
                       if (f)
                         {
@@ -305,7 +305,7 @@
                       if (!strcmp(e->data, "/"))
                         snprintf(buf, sizeof(buf), "/.order");
                       else
-                        snprintf(buf, sizeof(buf), "%s/.order", e->data);
+                        snprintf(buf, sizeof(buf), "%s/.order", (char 
*)e->data);
                       if (evas_list_count(files) == 1)
                         _e_file_add(ed->id, buf, 2);
                       else



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to