Skip to content

Commit c736b53

Browse files
committed
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
1 parent 63b95a6 commit c736b53

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/util_filter.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
typedef struct filter_trie_node filter_trie_node;
8686

8787
typedef struct {
88-
char c;
88+
int c;
8989
filter_trie_node *child;
9090
} filter_trie_child_ptr;
9191

@@ -105,7 +105,7 @@ struct filter_trie_node {
105105
/* Link a trie node to its parent
106106
*/
107107
static void trie_node_link(apr_pool_t *p, filter_trie_node *parent,
108-
filter_trie_node *child, char c)
108+
filter_trie_node *child, int c)
109109
{
110110
int i, j;
111111

0 commit comments

Comments
 (0)