summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-25 08:39:49 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-25 08:39:49 +0000
commitafc54c8ecce92a440f403b7d90be3234b60bef16 (patch)
treeacab692dc783fabe0a9b21c35fbce9c232541876 /sys/net
parent84f02bbe31bbf222fdf43d4c83b7403d7370a0e0 (diff)
no point using a char here.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 18cbcb4b027..fbe46ee7421 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.22 2001/06/25 05:28:03 kjell Exp $ */
+/* $OpenBSD: pf.c,v 1.23 2001/06/25 08:39:48 art Exp $ */
/*
* Copyright (c) 2001, Daniel Hartmeier
@@ -322,7 +322,7 @@ tree_remove(struct tree_node **p, struct tree_key *key)
struct state *
find_state(struct tree_node *p, struct tree_key *key)
{
- signed char c;
+ int c;
while (p && (c = tree_key_compare(&p->key, key)))
p = (c > 0) ? p->left : p->right;