summaryrefslogtreecommitdiff
path: root/wsutil/filesystem.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-02-17 13:33:15 -0800
committerGerald Combs <gerald@wireshark.org>2015-02-18 05:01:00 +0000
commit630f54fbbc05d04ebc7007a2d6762514f5c066aa (patch)
tree6f7090178d2554b33d033fdb4078b30b2b5ce726 /wsutil/filesystem.c
parentb3f3d669e5f3c1f04d7d6c771da8604e25a71eec (diff)
downloadwireshark-630f54fbbc05d04ebc7007a2d6762514f5c066aa.tar.gz
Fix various warnings in wireshark-qt.cpp.
Squelch warnings due to (char *) casts. Use "include_directories(SYSTEM..." in CMakeLists.txt so that we don't get pedantic warnings about things we can't easily fix such as QList loop optimizations. Not sure if there's an easy way to do this in Autotools. Pass get_gui_compiled_info to init_progfile_dir. C++ don't have to show you any stinkin' ::main. warning: ISO C++ forbids taking address of function ‘::main’ [-Wpedantic] Change-Id: If1c77284ab0d1b4786bce4e926a4109dd9b1ae34 Reviewed-on: https://code.wireshark.org/review/7207 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'wsutil/filesystem.c')
-rw-r--r--wsutil/filesystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/filesystem.c b/wsutil/filesystem.c
index 16e51615b1..c34b95a02b 100644
--- a/wsutil/filesystem.c
+++ b/wsutil/filesystem.c
@@ -479,7 +479,7 @@ init_progfile_dir(const char *arg0
#ifdef _WIN32
_U_
#endif
-, int (*main_addr)(int, char **)
+, progfile_main_t main_addr
#if defined(_WIN32) || !defined(HAVE_DLADDR)
_U_
#endif