summaryrefslogtreecommitdiff
path: root/capture_sync.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-03-22 23:03:39 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-03-22 23:03:39 +0000
commitcdf47e536bc77c178a630f5bf474b7ba148394fd (patch)
tree29f085b19c89a9bba21ab7461a300809b9bfe12d /capture_sync.c
parent7f3e4fea48dad56d9ecfb73aab614233cdde5a0e (diff)
downloadwireshark-cdf47e536bc77c178a630f5bf474b7ba148394fd.tar.gz
Add -Werror when using GCC only to the Makefile.am of the base
directory and most of the plugins to match the same command put in the Makefile.nmake files for Windows compliations. Fix a few warnings when compiling under gcc 3.4.4 on FreeBSD. Create new automake file variable called USING_GCC in configure.in and wiretap/configure.in to acomplish the above -Werror addition. svn path=/trunk/; revision=21127
Diffstat (limited to 'capture_sync.c')
-rw-r--r--capture_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_sync.c b/capture_sync.c
index 4d2120c58d..4b67d0cd58 100644
--- a/capture_sync.c
+++ b/capture_sync.c
@@ -451,7 +451,7 @@ sync_pipe_start(capture_options *capture_opts) {
eth_close(1);
dup(sync_pipe[PIPE_WRITE]);
eth_close(sync_pipe[PIPE_READ]);
- execv(exename, argv);
+ execv(exename, (gpointer)argv);
g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s",
exename, strerror(errno));
sync_pipe_errmsg_to_parent(errmsg, "");