From: William A. Rowe Jr Date: Thu, 13 Dec 2001 16:39:08 +0000 (+0000) Subject: While contemplating a cast to (char) for the c arg to trie_node_link, X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c736b53ce321f4e50e05abd9db1954c32d5a42ef;p=apache While contemplating a cast to (char) for the c arg to trie_node_link, I decided it's more plesant to let the cpu not to think so hard (no wasted space, the c member will by word aligned anyways.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92449 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util_filter.c b/server/util_filter.c index 8150c79e26..904bb8df0d 100644 --- a/server/util_filter.c +++ b/server/util_filter.c @@ -85,7 +85,7 @@ typedef struct filter_trie_node filter_trie_node; typedef struct { - char c; + int c; filter_trie_node *child; } filter_trie_child_ptr; @@ -105,7 +105,7 @@ struct filter_trie_node { /* Link a trie node to its parent */ static void trie_node_link(apr_pool_t *p, filter_trie_node *parent, - filter_trie_node *child, char c) + filter_trie_node *child, int c) { int i, j;