From: Ben Laurie Date: Tue, 20 Jun 2000 20:42:06 +0000 (+0000) Subject: Fix warnings (we really need typesafe arrays, y'know). X-Git-Tag: APACHE_2_0_ALPHA_5~279 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61a67a0f45e2a50ebbe3ce9c7d6e31ecf1c8a424;p=apache Fix warnings (we really need typesafe arrays, y'know). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85641 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_dir.c b/modules/mappers/mod_dir.c index 2e590170bb..962209eac9 100644 --- a/modules/mappers/mod_dir.c +++ b/modules/mappers/mod_dir.c @@ -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; }