From: Stefan Eissing Date: Sat, 31 Dec 2016 13:11:28 +0000 (+0000) Subject: On the trunk: X-Git-Tag: 2.5.0-alpha~835 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=1d7573a0f8ad2a069d62a52c94aa8ae9605dbf2a;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/metadata/mod_remoteip.c b/modules/metadata/mod_remoteip.c index 7afa90d662a..1e160c1264d 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; }