diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-04-16 04:05:39 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-04-16 04:05:39 +0000 |
commit | e648060f0f307b2df23902338fa5d22c4d490465 (patch) | |
tree | 1f4158ed7e68052c732725d2535039b9523e38de /capture-wpcap.c | |
parent | 17f0d877faff64832b2a93f24d21b873fe59919e (diff) |
Fix the last(?) of the Win64 compilation problems.
svn path=/trunk/; revision=28065
Diffstat (limited to 'capture-wpcap.c')
-rw-r--r-- | capture-wpcap.c | 4 |
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); |