summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2016-12-31 13:11:28 +0000
committerStefan Eissing <icing@apache.org>2016-12-31 13:11:28 +0000
commit1d7573a0f8ad2a069d62a52c94aa8ae9605dbf2a (patch)
treea1493a82b86394be55afd479228ec905662f468b
parent565380086d1b11e959e37e8f1594bdee3ec3f97b (diff)
downloadhttpd-1d7573a0f8ad2a069d62a52c94aa8ae9605dbf2a.tar.gz
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
-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;
}