Commit 753f6d4a authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

src: Fix compiler warning

parent aba2dbdd
......@@ -914,7 +914,7 @@ int ClientHandler::proxy_protocol_read() {
constexpr const char HEADER[] = "PROXY ";
if (end - rb_.pos < str_size(HEADER)) {
if (static_cast<size_t>(end - rb_.pos) < str_size(HEADER)) {
if (LOG_ENABLED(INFO)) {
CLOG(INFO, this) << "PROXY-protocol-v1: PROXY version 1 ID not found";
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment