httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/server util_filter.c
Date Thu, 13 Dec 2001 16:39:08 GMT
wrowe       01/12/13 08:39:08

  Modified:    server   util_filter.c
  Log:
    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.)
  
  Revision  Changes    Path
  1.72      +2 -2      httpd-2.0/server/util_filter.c
  
  Index: util_filter.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/util_filter.c,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -u -r1.71 -r1.72
  --- util_filter.c	2001/11/23 11:07:51	1.71
  +++ util_filter.c	2001/12/13 16:39:08	1.72
  @@ -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 @@
   /* 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;
   
  
  
  

Mime
View raw message