httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: httpd-2.0/modules/mappers mod_rewrite.c
Date Tue, 30 Sep 2003 15:22:41 GMT
martin      2003/09/30 08:22:41

  Modified:    modules/mappers mod_rewrite.c
  Log:
  Match type of both arguments (get rid of compiler warning) in x ? y : z expression
  
  Revision  Changes    Path
  1.235     +2 -2      httpd-2.0/modules/mappers/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_rewrite.c,v
  retrieving revision 1.234
  retrieving revision 1.235
  diff -u -u -r1.234 -r1.235
  --- mod_rewrite.c	3 Sep 2003 19:27:06 -0000	1.234
  +++ mod_rewrite.c	30 Sep 2003 15:22:41 -0000	1.235
  @@ -2049,7 +2049,7 @@
           if (current->len) {
               current->next = (spc < SMALL_EXPANSION)
                               ? &(sresult[spc++])
  -                            : apr_palloc(pool, sizeof(result_list));
  +                            : (result_list *)apr_palloc(pool, sizeof(result_list));
               current = current->next;
               current->next = NULL;
               current->len = 0;
  @@ -2176,7 +2176,7 @@
               if (current->len) {
                   current->next = (spc < SMALL_EXPANSION)
                                   ? &(sresult[spc++])
  -                                : apr_palloc(pool, sizeof(result_list));
  +                                : (result_list *)apr_palloc(pool, sizeof(result_list));
                   current = current->next;
                   current->next = NULL;
               }
  
  
  

Mime
View raw message