From 856a42c99f110af45bae13ad04952e9323464a87 Mon Sep 17 00:00:00 2001
From: Andreas Mohr <and@gmx.li>
Date: Mon, 28 Dec 2020 18:19:14 +0000
Subject: [PATCH] fix lto-type-mismatch warning
Found by gcc-9.3.0
Signed-off-by: Andreas Mohr <and@gmx.li>
---
tests/src/execute__execute_external_editor_or_viewer.c | 4 ++--
.../src/execute__execute_get_external_cmd_opts_from_config.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/src/execute__execute_external_editor_or_viewer.c b/tests/src/execute__execute_external_editor_or_viewer.c
index a861d29f0..4e3e63e31 100644
a
|
b
|
|
32 | 32 | /* --------------------------------------------------------------------------------------------- */ |
33 | 33 | |
34 | 34 | char *execute_get_external_cmd_opts_from_config (const char *command, |
35 | | const vfs_path_t * filename_vpath, int start_line); |
| 35 | const vfs_path_t * filename_vpath, long start_line); |
36 | 36 | |
37 | 37 | /* @CapturedValue */ |
38 | 38 | static char *execute_external_cmd_opts__command__captured; |
… |
… |
static char *execute_external_cmd_opts__return_value; |
47 | 47 | /* @Mock */ |
48 | 48 | char * |
49 | 49 | execute_get_external_cmd_opts_from_config (const char *command, const vfs_path_t * filename_vpath, |
50 | | int start_line) |
| 50 | long start_line) |
51 | 51 | { |
52 | 52 | execute_external_cmd_opts__command__captured = g_strdup (command); |
53 | 53 | execute_external_cmd_opts__filename_vpath__captured = vfs_path_clone (filename_vpath); |
diff --git a/tests/src/execute__execute_get_external_cmd_opts_from_config.c b/tests/src/execute__execute_get_external_cmd_opts_from_config.c
index 379717d22..1606bfefd 100644
a
|
b
|
|
33 | 33 | #include "src/vfs/local/local.c" |
34 | 34 | |
35 | 35 | char *execute_get_external_cmd_opts_from_config (const char *command, |
36 | | const vfs_path_t * filename_vpath, int start_line); |
| 36 | const vfs_path_t * filename_vpath, long start_line); |
37 | 37 | |
38 | 38 | /* --------------------------------------------------------------------------------------------- */ |
39 | 39 | |