]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
On the trunk:
authorStefan Eissing <icing@apache.org>
Sat, 31 Dec 2016 13:11:28 +0000 (13:11 +0000)
committerStefan Eissing <icing@apache.org>
Sat, 31 Dec 2016 13:11:28 +0000 (13:11 +0000)
* 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

index 7afa90d662af9b22a2a9dc3690629419bb7c4094..1e160c1264db3b77d3d2032dda94a9e92be25852 100644 (file)
@@ -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;
     }