mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Ticket #3693: code cleanup before 4.8.19 release.
(init_subshell_child): cleanup -Wformat-signedness warning. common.c:330:26: error: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned int' [-Werror=format=] fprintf (stderr, __FILE__ ": unimplemented subshell type %d\r\n", mc_global.shell->type); ^~~~~~~~ Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
da538f0b99
commit
a76afeec89
@ -327,7 +327,7 @@ init_subshell_child (const char *pty_name)
|
||||
break;
|
||||
|
||||
default:
|
||||
fprintf (stderr, __FILE__ ": unimplemented subshell type %d\r\n", mc_global.shell->type);
|
||||
fprintf (stderr, __FILE__ ": unimplemented subshell type %u\r\n", mc_global.shell->type);
|
||||
my_exit (FORK_FAILURE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user