aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/tls_http_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/tls_http_server.cpp')
-rw-r--r--src/cli/tls_http_server.cpp2
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");