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:
Andreas Mohr 2020-12-28 18:19:14 +00:00 committed by Andrew Borodin
parent ca126b3f69
commit 7b9c9564e8
2 changed files with 5 additions and 3 deletions

View File

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

View File

@ -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);
/* --------------------------------------------------------------------------------------------- */