You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by be...@locus.apache.org on 2000/06/20 22:42:08 UTC

cvs commit: apache-2.0/src/modules/standard mod_dir.c

ben         00/06/20 13:42:08

  Modified:    src/modules/standard mod_dir.c
  Log:
  Fix warnings (we really need typesafe arrays, y'know).
  
  Revision  Changes    Path
  1.15      +1 -1      apache-2.0/src/modules/standard/mod_dir.c
  
  Index: mod_dir.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_dir.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- mod_dir.c	2000/06/20 11:31:54	1.14
  +++ mod_dir.c	2000/06/20 20:42:06	1.15
  @@ -85,7 +85,7 @@
       if (!d->index_names) {
   	d->index_names = ap_make_array(cmd->pool, 2, sizeof(char *));
       }
  -    *(char **)ap_push_array(d->index_names) = arg;
  +    *(const char **)ap_push_array(d->index_names) = arg;
       return NULL;
   }