The result of getopt() should not be converted to "char" - it breaks on PPC
This commit is contained in:
parent
fad04fdd12
commit
93c0d9f090
2
cp_mv.c
2
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)
|
extern int cp_mv_main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
volatile int i;
|
volatile int i;
|
||||||
char c;
|
int c;
|
||||||
|
|
||||||
if (*applet_name == 'c' && *(applet_name + 1) == 'p')
|
if (*applet_name == 'c' && *(applet_name + 1) == 'p')
|
||||||
dz_i = is_cp;
|
dz_i = is_cp;
|
||||||
|
Loading…
Reference in New Issue
Block a user