summaryrefslogtreecommitdiffstats
path: root/modules/metadata/mod_remoteip.c
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2016-12-31 14:11:28 +0100
committerStefan Eissing <icing@apache.org>2016-12-31 14:11:28 +0100
commit1d7573a0f8ad2a069d62a52c94aa8ae9605dbf2a (patch)
treea1493a82b86394be55afd479228ec905662f468b /modules/metadata/mod_remoteip.c
parentDocumentation rebuild (diff)
downloadapache2-1d7573a0f8ad2a069d62a52c94aa8ae9605dbf2a.tar.xz
apache2-1d7573a0f8ad2a069d62a52c94aa8ae9605dbf2a.zip
On the trunk:
* mod_remoteip: added cast to fix clang compiler error git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1776734 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/metadata/mod_remoteip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/metadata/mod_remoteip.c b/modules/metadata/mod_remoteip.c
index 7afa90d662..1e160c1264 100644
--- a/modules/metadata/mod_remoteip.c
+++ b/modules/metadata/mod_remoteip.c
@@ -969,7 +969,7 @@ static remoteip_parse_status_t remoteip_process_v2_header(conn_rec *c,
/* not a supported command */
ap_log_cerror(APLOG_MARK, APLOG_ERR, 0, c, APLOGNO(03507)
"RemoteIPProxyProtocol: unsupported command %.2hx",
- hdr->v2.ver_cmd);
+ (unsigned short)hdr->v2.ver_cmd);
return HDR_ERROR;
}