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:
Andreas Mohr 2016-09-17 12:09:47 +00:00 committed by Andrew Borodin
parent da538f0b99
commit a76afeec89

View File

@ -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);
}