aboutsummaryrefslogtreecommitdiffstats
path: root/echld
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2015-12-12 02:34:47 +0000
committerGuy Harris <guy@alum.mit.edu>2015-12-14 23:52:28 +0000
commitfbf2e3cf8fc07ef9f8b7cc4627fec82885560f98 (patch)
tree1eaf16ee020f4d5cd043497b5784eb4a8a0ab127 /echld
parentd835b271679c5e5eae7146b96ae1a65cbd5c16b4 (diff)
Make init_progfile_dir() take a function pointer [-Wpedantic]
Change-Id: I45f8ea5ee6ccc5a484c60ad6e686aaf30f6b0c98 Reviewed-on: https://code.wireshark.org/review/12557 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'echld')
-rw-r--r--echld/dispatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/echld/dispatcher.c b/echld/dispatcher.c
index 53907d182d..36642c194a 100644
--- a/echld/dispatcher.c
+++ b/echld/dispatcher.c
@@ -474,7 +474,7 @@ static void preinit_epan(char* argv0, int (*main)(int, char **)) {
int dp_open_errno, dp_read_errno;
char* error;
- error = init_progfile_dir(argv0, (void *)main);
+ error = init_progfile_dir(argv0, main);
comp_info_str = get_compiled_version_info(NULL, epan_get_compiled_version_info);