diff options
author | Jack Lloyd <[email protected]> | 2019-06-29 20:19:58 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-06-29 21:08:07 -0400 |
commit | a3e2ed375ad6a94228febf9d38379e0ab7e8215c (patch) | |
tree | 7c4d0aa73ac3ffb7da94128d2342633403280c50 /src/cli/tls_http_server.cpp | |
parent | 99e60d6367f8f085d3bd5503c5446727b138b00e (diff) |
Fix some MSVC and LGTM warnings
Diffstat (limited to 'src/cli/tls_http_server.cpp')
-rw-r--r-- | src/cli/tls_http_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/tls_http_server.cpp b/src/cli/tls_http_server.cpp index 0ff1632af..b4d117586 100644 --- a/src/cli/tls_http_server.cpp +++ b/src/cli/tls_http_server.cpp @@ -529,7 +529,7 @@ class TLS_HTTP_Server final : public Command void go() override { - const size_t listen_port = get_arg_sz("port"); + const uint16_t listen_port = get_arg_u16("port"); const std::string server_crt = get_arg("server_cert"); const std::string server_key = get_arg("server_key"); |