From 91912098c3157074ed463a4abc7a017ad139c988 Mon Sep 17 00:00:00 2001 From: archie Date: Thu, 10 Aug 2000 22:45:54 +0000 Subject: Take advantage of the new unsigned and hex integer types. --- sys/netgraph/ng_bpf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/netgraph/ng_bpf.c') diff --git a/sys/netgraph/ng_bpf.c b/sys/netgraph/ng_bpf.c index 8ec7bac..c198b11 100644 --- a/sys/netgraph/ng_bpf.c +++ b/sys/netgraph/ng_bpf.c @@ -94,10 +94,10 @@ static int ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp); /* Parse type for one struct bfp_insn */ static const struct ng_parse_struct_info ng_bpf_insn_type_info = { { - { "code", &ng_parse_int16_type }, - { "jt", &ng_parse_int8_type }, - { "jf", &ng_parse_int8_type }, - { "k", &ng_parse_int32_type }, + { "code", &ng_parse_hint16_type }, + { "jt", &ng_parse_uint8_type }, + { "jf", &ng_parse_uint8_type }, + { "k", &ng_parse_uint32_type }, { NULL } } }; -- cgit v1.1