You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2012/12/04 12:24:07 UTC
svn commit: r1416889 - /httpd/httpd/trunk/modules/mappers/mod_imagemap.c
Author: fuankg
Date: Tue Dec 4 11:24:06 2012
New Revision: 1416889
URL: http://svn.apache.org/viewvc?rev=1416889&view=rev
Log:
Fixed type mismatch.
Modified:
httpd/httpd/trunk/modules/mappers/mod_imagemap.c
Modified: httpd/httpd/trunk/modules/mappers/mod_imagemap.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_imagemap.c?rev=1416889&r1=1416888&r2=1416889&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_imagemap.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_imagemap.c Tue Dec 4 11:24:06 2012
@@ -323,7 +323,7 @@ static char *imap_url(request_rec *r, co
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, co
}
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;
}