From: Jeff Trawick Date: Fri, 23 Feb 2001 11:48:59 +0000 (+0000) Subject: fix a warning in a call to apr_psprintf() X-Git-Tag: 2.0.12~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=052834bf679e014326afb4921a2ba1e6db0b2232;p=thirdparty%2Fapache%2Fhttpd.git fix a warning in a call to apr_psprintf() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88287 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/dav/main/liveprop.c b/modules/dav/main/liveprop.c index 639ef4bf857..98358afb741 100644 --- a/modules/dav/main/liveprop.c +++ b/modules/dav/main/liveprop.c @@ -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); } }