diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-08-04 02:51:07 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-08-04 02:51:07 -0700 |
commit | 44332c3f82284063db6f83dea215d6552379bd1a (patch) | |
tree | b539d2ee4972653d6914f475797bcb4ba0f29c35 /bpf_filter.c | |
parent | 8a0eff8309c52fce00bcd769d82aa613891389be (diff) |
C99 names, not BSD names, for types.
Diffstat (limited to 'bpf_filter.c')
-rw-r--r-- | bpf_filter.c | 6 |
1 files changed, 3 insertions, 3 deletions
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: |