]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
fix a warning in a call to apr_psprintf()
authorJeff Trawick <trawick@apache.org>
Fri, 23 Feb 2001 11:48:59 +0000 (11:48 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 23 Feb 2001 11:48:59 +0000 (11:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88287 13f79535-47bb-0310-9956-ffa450edef68

modules/dav/main/liveprop.c

index 639ef4bf857696982235a2e5e47d39dcb009830d..98358afb741fa841a5087fda8b66171f142db568 100644 (file)
@@ -112,7 +112,7 @@ void dav_add_all_liveprop_xmlns(apr_pool_t *p, ap_text_header *phdr)
 
         apr_hash_this(idx, &key, NULL, &val);
 
-        s = apr_psprintf(p, " xmlns:lp%d=\"%s\"", (int)val, key);
+        s = apr_psprintf(p, " xmlns:lp%d=\"%s\"", (int)val, (const char *)key);
         ap_text_append(p, phdr, s);
     }
 }