From 9d53a7e0a65579435609a78619ea3eb7f6ef4787 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 7 Sep 2021 14:55:30 +0900 Subject: [PATCH] Fix compile error --- src/h2load.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/h2load.cc b/src/h2load.cc index 4b479723..a5edd3e0 100644 --- a/src/h2load.cc +++ b/src/h2load.cc @@ -2590,7 +2590,7 @@ int main(int argc, char **argv) { << std::endl; exit(EXIT_FAILURE); } - if (n > 64_k) { + if (static_cast(n) > 64_k) { std::cerr << "--max-udp-payload-size: must not exceed 65536" << std::endl; exit(EXIT_FAILURE);