summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2001-07-14 10:36:54 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2001-07-14 10:36:54 +0000
commit616e4bd0111cf93661462329222b1e8a95a3c003 (patch)
tree211405830df9c0a8e7e0890006c5c44bf082d977 /sys
parent9d85d9907576b7e12cd04c0403eadcba5c46980c (diff)
use int instead of signed char. doesn't use more memory (padding occurs) and is actually faster.
Diffstat (limited to 'sys')
-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 c7d88e63ce3..578fb851db0 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.111 2001/07/13 23:44:08 fgsch Exp $ */
+/* $OpenBSD: pf.c,v 1.112 2001/07/14 10:36:53 dhartmei Exp $ */
/*
* Copyright (c) 2001, Daniel Hartmeier
@@ -78,7 +78,7 @@ struct pf_tree_node {
struct pf_tree_node *parent;
struct pf_tree_node *left;
struct pf_tree_node *right;
- signed char balance;
+ int balance;
};
struct pf_frent {