warning: type mismatch in shell/cmdedit.c

Robert P. J. Day rpjday at mindspring.com
Fri Mar 3 13:55:12 UTC 2006


/home/rpjday/SW/busybox/shell/cmdedit.c: In function
‘cmdedit_read_input’:
/home/rpjday/SW/busybox/shell/cmdedit.c:1453: warning: case label
value exceeds maximum value for type
/home/rpjday/SW/busybox/shell/cmdedit.c:1454: warning: case label
value exceeds maximum value for type
... etc etc ...

"c" is declared as unsigned char but the case label values are
character literals which make them of type int, no?  not fatal, just
annoying.

rday


More information about the busybox mailing list