From 0bd9790c411b3c4a2d5e31ece4c8c9e9d21b5097 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Sat, 16 Mar 2002 20:29:38 +0000 Subject: [PATCH] fix the type of a string argument to ap_log_error() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93973 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_protocol.c | 2 +- modules/http/mod_mime.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 42b7acfbb9..205c8732bf 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -854,7 +854,7 @@ static void basic_http_header_check(request_rec *r, r->status_line = status_lines[ap_index_of_response(r->status)]; } - /* kluge around broken browsers when indicated by force-response-1.0 + /* kludge around broken browsers when indicated by force-response-1.0 */ if (r->proto_num == HTTP_VERSION(1,0) && apr_table_get(r->subprocess_env, "force-response-1.0")) { diff --git a/modules/http/mod_mime.c b/modules/http/mod_mime.c index cec660b3bd..7eaab71a3e 100644 --- a/modules/http/mod_mime.c +++ b/modules/http/mod_mime.c @@ -442,7 +442,7 @@ static int mime_post_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, if (!types_confname) { ap_log_error(APLOG_MARK, APLOG_ERR, APR_EBADPATH, s, "Invalid mime types config path %s", - ap_get_module_config(s->module_config, &mime_module)); + (const char *)ap_get_module_config(s->module_config, &mime_module)); return HTTP_INTERNAL_SERVER_ERROR; } if ((status = ap_pcfg_openfile(&f, ptemp, types_confname)) -- 2.40.0