summaryrefslogtreecommitdiff
path: root/cp_mv.c
diff options
context:
space:
mode:
authorPavel Roskin2000-07-14 15:18:57 +0000
committerPavel Roskin2000-07-14 15:18:57 +0000
commit93c0d9f090eb17dc3c42c341af7aad19d8c87f52 (patch)
treed5e6cff08bb599e6a3694528ac92d377962beee5 /cp_mv.c
parentfad04fdd12604a46eff62875343515c33e1863c6 (diff)
downloadbusybox-93c0d9f090eb17dc3c42c341af7aad19d8c87f52.zip
busybox-93c0d9f090eb17dc3c42c341af7aad19d8c87f52.tar.gz
The result of getopt() should not be converted to "char" - it breaks on PPC
Diffstat (limited to 'cp_mv.c')
-rw-r--r--cp_mv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cp_mv.c b/cp_mv.c
index d703dae..a0d677c 100644
--- a/cp_mv.c
+++ b/cp_mv.c
@@ -189,7 +189,7 @@ rm_Action(const char *fileName, struct stat *statbuf, void* junk)
extern int cp_mv_main(int argc, char **argv)
{
volatile int i;
- char c;
+ int c;
if (*applet_name == 'c' && *(applet_name + 1) == 'p')
dz_i = is_cp;