[BusyBox-cvs] busybox/editors sed.c,1.168,1.169
Glenn McGrath
bug1 at busybox.net
Sun May 16 02:35:51 UTC 2004
Update of /var/cvs/busybox/editors
In directory nail:/tmp/cvs-serv9906/editors
Modified Files:
sed.c
Log Message:
Use int instead of char for return type, in theory avoiding a cast
Index: sed.c
===================================================================
RCS file: /var/cvs/busybox/editors/sed.c,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -d -r1.168 -r1.169
--- a/sed.c 10 May 2004 08:59:17 -0000 1.168
+++ b/sed.c 16 May 2004 02:35:49 -0000 1.169
@@ -1096,9 +1096,9 @@
extern int sed_main(int argc, char **argv)
{
+ int status = EXIT_SUCCESS;
int opt;
- char getpat=1;
- char status = EXIT_SUCCESS;
+ uint8_t getpat = 1;
#ifdef CONFIG_FEATURE_CLEAN_UP
/* destroy command strings on exit */
More information about the busybox-cvs
mailing list