summaryrefslogtreecommitdiff
path: root/echo.c
diff options
context:
space:
mode:
authorPavel Roskin2000-07-17 16:17:19 +0000
committerPavel Roskin2000-07-17 16:17:19 +0000
commit47d4926244f6a444f812675f4ecff401dba5f8f7 (patch)
tree3fa51908f6eb9657a2e9696c2fe9c71001129f7e /echo.c
parentbf181b9338152759fd56c8009e9a962a84808e7c (diff)
downloadbusybox-47d4926244f6a444f812675f4ecff401dba5f8f7.zip
busybox-47d4926244f6a444f812675f4ecff401dba5f8f7.tar.gz
The result of getopt() is "int" and should be treated as such
Diffstat (limited to 'echo.c')
-rw-r--r--echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/echo.c b/echo.c
index 73be8f2..924cdd4 100644
--- a/echo.c
+++ b/echo.c
@@ -30,7 +30,7 @@ echo_main(int argc, char** argv)
{
register char **ap;
char *p;
- register char c;
+ int c;
int nflag = 0;
int eflag = 0;