aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/tls_client.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-06-29 22:11:46 -0400
committerJack Lloyd <[email protected]>2019-06-29 22:11:46 -0400
commitcf09338f297ce9c26c14ddb5226d9e6e94b63a88 (patch)
tree7c4d0aa73ac3ffb7da94128d2342633403280c50 /src/cli/tls_client.cpp
parent99e60d6367f8f085d3bd5503c5446727b138b00e (diff)
parenta3e2ed375ad6a94228febf9d38379e0ab7e8215c (diff)
Merge GH #2011 Fix some MSVC and LGTM warnings
Diffstat (limited to 'src/cli/tls_client.cpp')
-rw-r--r--src/cli/tls_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/tls_client.cpp b/src/cli/tls_client.cpp
index 26e1f4b25..e241df1e8 100644
--- a/src/cli/tls_client.cpp
+++ b/src/cli/tls_client.cpp
@@ -91,7 +91,7 @@ class TLS_Client final : public Command, public Botan::TLS::Callbacks
const std::string sessions_db = get_arg("session-db");
const std::string host = get_arg("host");
- const uint16_t port = static_cast<uint16_t>(get_arg_sz("port"));
+ const uint16_t port = get_arg_u16("port");
const std::string transport = get_arg("type");
const std::string next_protos = get_arg("next-protocols");
std::string policy_file = get_arg("policy");