Make the type of the memory used by the BPF filter unsigned, so it

matches the BPF registers (which are the only thing that is assigned
to/from BPF memory). This is a pedantic change that shouldn't change
any behaviour.

PR:		115931
Submitted by:	Matthew Luckie <mjl@luckie.org.nz>
Approved by:	re (bmah)
MFC after:	3 weeks
This commit is contained in:
David Malone 2007-09-13 09:00:32 +00:00
parent b6648efd3b
commit b2adf5c837
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172154

View File

@ -186,7 +186,7 @@ bpf_filter(pc, p, wirelen, buflen)
{
register u_int32_t A = 0, X = 0;
register bpf_u_int32 k;
int32_t mem[BPF_MEMWORDS];
u_int32_t mem[BPF_MEMWORDS];
if (pc == 0)
/*