From: Guy Harris Date: Sat, 4 Aug 2018 09:51:07 +0000 (-0700) Subject: C99 names, not BSD names, for types. X-Git-Tag: libpcap-1.10-bp~883 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/44332c3f82284063db6f83dea215d6552379bd1a C99 names, not BSD names, for types. --- diff --git a/bpf_filter.c b/bpf_filter.c index b9fe9650..af19158d 100644 --- a/bpf_filter.c +++ b/bpf_filter.c @@ -87,9 +87,9 @@ u_int bpf_filter_with_aux_data(const struct bpf_insn *pc, const u_char *p, u_int wirelen, u_int buflen, const struct bpf_aux_data *aux_data) { - register u_int32_t A, X; + register uint32_t A, X; register bpf_u_int32 k; - u_int32_t mem[BPF_MEMWORDS]; + uint32_t mem[BPF_MEMWORDS]; if (pc == 0) /* @@ -349,7 +349,7 @@ bpf_filter_with_aux_data(const struct bpf_insn *pc, const u_char *p, * can't be unsigned; throw some casts to * specify what we're trying to do. */ - A = (u_int32_t)(-(int32_t)A); + A = (uint32_t)(-(int32_t)A); continue; case BPF_MISC|BPF_TAX: