]> granicus.if.org Git - apache/commitdiff
Fix warnings (we really need typesafe arrays, y'know).
authorBen Laurie <ben@apache.org>
Tue, 20 Jun 2000 20:42:06 +0000 (20:42 +0000)
committerBen Laurie <ben@apache.org>
Tue, 20 Jun 2000 20:42:06 +0000 (20:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85641 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_dir.c

index 2e590170bb4e2454c98c85ef07d1e7aa9811afa9..962209eac96aa4b1f5ce12ad5c65b7ff3a840602 100644 (file)
@@ -85,7 +85,7 @@ static const char *add_index(cmd_parms *cmd, void *dummy, const char *arg)
     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;
 }