old bug in achown.c



This bug is perhaps the oldest one I could find. Well, to be honest, it wasn't me but the SunPro compiler:

"/tmp/mc-current-build/src/src/achown.c", line 517:
    warning: enum type mismatch: arg #2

It's not only gcc's job to emit warnings ... ;)

Roland
Index: achown.c
===================================================================
RCS file: /cvsroot/mc/mc/src/achown.c,v
retrieving revision 1.47
diff -u -p -r1.47 achown.c
--- achown.c	27 May 2005 03:35:14 -0000	1.47
+++ achown.c	8 Jun 2005 00:42:55 -0000
@@ -514,7 +514,7 @@ advanced_chown_callback (Dlg_head *h, dl
 		break;
 	    ch_flags[flag_pos] = parm;
 	    update_mode (h);
-	    advanced_chown_callback (h, KEY_RIGHT, DLG_KEY);
+	    advanced_chown_callback (h, DLG_KEY, KEY_RIGHT);
 	    if (flag_pos > 8 || !(flag_pos % 3))
 		dlg_one_down (h);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]