]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fixed type mismatch.
authorGuenter Knauf <fuankg@apache.org>
Tue, 4 Dec 2012 11:24:06 +0000 (11:24 +0000)
committerGuenter Knauf <fuankg@apache.org>
Tue, 4 Dec 2012 11:24:06 +0000 (11:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1416889 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_imagemap.c

index 8057e29608bd6a1d58041757610cf90e6bfea97b..2df50a412dea303339248f83b63a21f5e89944e2 100644 (file)
@@ -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;
         }