From fbf2e3cf8fc07ef9f8b7cc4627fec82885560f98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Sat, 12 Dec 2015 02:34:47 +0000 Subject: 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 Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris --- wireshark-qt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wireshark-qt.cpp') diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp index 16cde1c367..dc6db3c681 100644 --- a/wireshark-qt.cpp +++ b/wireshark-qt.cpp @@ -518,7 +518,7 @@ int main(int argc, char *argv[]) * Attempt to get the pathname of the executable file. */ /* init_progfile_dir_error = */ init_progfile_dir(ws_argv[0], - (void *) get_gui_compiled_info); + (int (*)(int, char **)) get_gui_compiled_info); g_log(NULL, G_LOG_LEVEL_DEBUG, "progfile_dir: %s", get_progfile_dir()); #ifdef _WIN32 -- cgit v1.2.3