From 1d7573a0f8ad2a069d62a52c94aa8ae9605dbf2a Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Sat, 31 Dec 2016 13:11:28 +0000 Subject: [PATCH] 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 --- modules/metadata/mod_remoteip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0