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 warnings. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_main.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- e_fm_main.c 3 May 2007 17:58:35 -0000 1.13 +++ e_fm_main.c 6 May 2007 16:23:11 -0000 1.14 @@ -329,7 +329,7 @@ break; case 2: /* monitor dir end */ { - Evas_List *l, *ll; + Evas_List *l; for (l = _e_dirs; l; l = l->next) { @@ -684,13 +684,13 @@ p[0] = broken_lnk; p += 1; - strcpy(p, path); + strcpy((char *)p, path); p += strlen(path) + 1; - strcpy(p, lnk); + strcpy((char *)p, lnk); p += strlen(lnk) + 1; - strcpy(p, rlnk); + strcpy((char *)p, rlnk); p += strlen(rlnk) + 1; bsz = p - buf; @@ -891,13 +891,7 @@ _e_cb_fop_mv_idler(void *data) { E_Fop *fop; - struct Fop_Data { - DIR *dir; - const char *path, *path2; - } *fd, *fd2; - struct dirent *dp = NULL; - char buf[PATH_MAX], buf2[PATH_MAX], *lnk; - + fop = (E_Fop *)data; if (!fop->data) { @@ -1203,7 +1197,7 @@ { if (!strcmp(l->data, rel)) { - printf("INSERT %s\n", l->data); + printf("INSERT %s\n", (char *)l->data); if (rel_to == 2) /* replace */ { free(l->data); @@ -1226,8 +1220,8 @@ { while (files) { - printf("W %s\n", files->data); - fprintf(fh, "%s\n", files->data); + printf("W %s\n", (char *)files->data); + fprintf(fh, "%s\n", (char *)files->data); free(files->data); files = evas_list_remove_list(files, files); } ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs