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
On Wed, Jun 08, 2005 at 02:45:32AM +0200, Roland Illig wrote:
- advanced_chown_callback (h, KEY_RIGHT, DLG_KEY);
+ advanced_chown_callback (h, DLG_KEY, KEY_RIGHT);
heh, wow ...
another a good example of why #define is bad and enum is good - provided
you have a sufficiently