mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-01 00:54:24 +03:00
Fix lto-type-mismatch warning.
Found by gcc-9.3.0. Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
ca126b3f69
commit
7b9c9564e8
@ -32,7 +32,8 @@
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
char *execute_get_external_cmd_opts_from_config (const char *command,
|
||||
const vfs_path_t * filename_vpath, int start_line);
|
||||
const vfs_path_t * filename_vpath,
|
||||
long start_line);
|
||||
|
||||
/* @CapturedValue */
|
||||
static char *execute_external_cmd_opts__command__captured;
|
||||
@ -47,7 +48,7 @@ static char *execute_external_cmd_opts__return_value;
|
||||
/* @Mock */
|
||||
char *
|
||||
execute_get_external_cmd_opts_from_config (const char *command, const vfs_path_t * filename_vpath,
|
||||
int start_line)
|
||||
long start_line)
|
||||
{
|
||||
execute_external_cmd_opts__command__captured = g_strdup (command);
|
||||
execute_external_cmd_opts__filename_vpath__captured = vfs_path_clone (filename_vpath);
|
||||
|
@ -33,7 +33,8 @@
|
||||
#include "src/vfs/local/local.c"
|
||||
|
||||
char *execute_get_external_cmd_opts_from_config (const char *command,
|
||||
const vfs_path_t * filename_vpath, int start_line);
|
||||
const vfs_path_t * filename_vpath,
|
||||
long start_line);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user