projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d2edbf
)
Use int instead of char for return type, in theory avoiding a cast
author
Glenn L McGrath
<bug1@ihug.co.nz>
Sun, 16 May 2004 02:35:49 +0000
(
02:35
-0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Sun, 16 May 2004 02:35:49 +0000
(
02:35
-0000)
editors/sed.c
patch
|
blob
|
history
diff --git
a/editors/sed.c
b/editors/sed.c
index 45cf7a7ad65ccce746958ad7968afdd1eec9b08c..45574e81dd5138039159a8032e8a3649ee37a44b 100644
(file)
--- a/
editors/sed.c
+++ b/
editors/sed.c
@@
-1096,9
+1096,9
@@
static void add_cmd_block(char *cmdstr)
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 */