Commit 9d53a7e0 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fix compile error

parent 7ea57eaa
...@@ -2590,7 +2590,7 @@ int main(int argc, char **argv) { ...@@ -2590,7 +2590,7 @@ int main(int argc, char **argv) {
<< std::endl; << std::endl;
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
if (n > 64_k) { if (static_cast<uint64_t>(n) > 64_k) {
std::cerr << "--max-udp-payload-size: must not exceed 65536" std::cerr << "--max-udp-payload-size: must not exceed 65536"
<< std::endl; << std::endl;
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
......
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