]> granicus.if.org Git - apache/commitdiff
While contemplating a cast to (char) for the c arg to trie_node_link,
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 13 Dec 2001 16:39:08 +0000 (16:39 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 13 Dec 2001 16:39:08 +0000 (16:39 +0000)
  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

server/util_filter.c

index 8150c79e262fc7b358cc3a578c4ee33988c7879d..904bb8df0df9f5de54b73fa02136656468124f4a 100644 (file)
@@ -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;