From: Guenter Knauf Date: Tue, 4 Dec 2012 11:24:06 +0000 (+0000) Subject: Fixed type mismatch. X-Git-Tag: 2.5.0-alpha~6069 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e2939bd83656eaef91c78a00997948e1ec8c815;p=thirdparty%2Fapache%2Fhttpd.git Fixed type mismatch. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1416889 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_imagemap.c b/modules/mappers/mod_imagemap.c index 8057e29608b..2df50a412de 100644 --- a/modules/mappers/mod_imagemap.c +++ b/modules/mappers/mod_imagemap.c @@ -323,7 +323,7 @@ static char *imap_url(request_rec *r, const char *base, const char *value) char *string_pos = NULL; const char *string_pos_const = NULL; char *directory = NULL; - const char *referer = NULL; + char *referer = NULL; char *my_base; if (!strcasecmp(value, "map") || !strcasecmp(value, "menu")) { @@ -336,7 +336,7 @@ static char *imap_url(request_rec *r, const char *base, const char *value) } if (!strcasecmp(value, "referer")) { - referer = apr_table_get(r->headers_in, "Referer"); + referer = (char *)apr_table_get(r->headers_in, "Referer"); if (referer && *referer) { return referer; }