diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-05-16 02:35:49 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-05-16 02:35:49 +0000 |
commit | 1cb01d117d3834a7d8f43e99b49b1c4f119e24b4 (patch) | |
tree | deb5bb0a997f5e3f9d0b1f7847533df4d4f0326f | |
parent | 9d0f276eadd43ec27a14b9252e81a2077d6df125 (diff) | |
download | busybox-w32-1cb01d117d3834a7d8f43e99b49b1c4f119e24b4.tar.gz busybox-w32-1cb01d117d3834a7d8f43e99b49b1c4f119e24b4.tar.bz2 busybox-w32-1cb01d117d3834a7d8f43e99b49b1c4f119e24b4.zip |
Use int instead of char for return type, in theory avoiding a cast
git-svn-id: svn://busybox.net/trunk/busybox@8845 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | editors/sed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/sed.c b/editors/sed.c index 45cf7a7ad..45574e81d 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -1096,9 +1096,9 @@ static void add_cmd_block(char *cmdstr) | |||
1096 | 1096 | ||
1097 | extern int sed_main(int argc, char **argv) | 1097 | extern int sed_main(int argc, char **argv) |
1098 | { | 1098 | { |
1099 | int status = EXIT_SUCCESS; | ||
1099 | int opt; | 1100 | int opt; |
1100 | char getpat=1; | 1101 | uint8_t getpat = 1; |
1101 | char status = EXIT_SUCCESS; | ||
1102 | 1102 | ||
1103 | #ifdef CONFIG_FEATURE_CLEAN_UP | 1103 | #ifdef CONFIG_FEATURE_CLEAN_UP |
1104 | /* destroy command strings on exit */ | 1104 | /* destroy command strings on exit */ |