aboutsummaryrefslogtreecommitdiffstats
path: root/capture-wpcap.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-16 04:05:39 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-16 04:05:39 +0000
commitebaddf5c97a9bb176d032d80d318588c7e13caf1 (patch)
tree1f4158ed7e68052c732725d2535039b9523e38de /capture-wpcap.c
parent21315531bcf393adebaf5a9316523c8d644a70e1 (diff)
Fix the last(?) of the Win64 compilation problems.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28065 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture-wpcap.c')
-rw-r--r--capture-wpcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capture-wpcap.c b/capture-wpcap.c
index 400b89f08b..3e4198f207 100644
--- a/capture-wpcap.c
+++ b/capture-wpcap.c
@@ -62,7 +62,7 @@ static int (*p_pcap_snapshot) (pcap_t *);
static int (*p_pcap_datalink) (pcap_t *);
static int (*p_pcap_setfilter) (pcap_t *, struct bpf_program *);
static char* (*p_pcap_geterr) (pcap_t *);
-static int (*p_pcap_compile) (pcap_t *, struct bpf_program *, char *, int,
+static int (*p_pcap_compile) (pcap_t *, struct bpf_program *, const char *, int,
bpf_u_int32);
#ifdef WPCAP_CONSTIFIED
static int (*p_pcap_lookupnet) (const char *, bpf_u_int32 *, bpf_u_int32 *,
@@ -282,7 +282,7 @@ pcap_geterr(pcap_t *a)
}
int
-pcap_compile(pcap_t *a, struct bpf_program *b, char *c, int d,
+pcap_compile(pcap_t *a, struct bpf_program *b, const char *c, int d,
bpf_u_int32 e)
{
g_assert(has_wpcap);