diff --git a/src/tor/onion_v3.cpp b/src/tor/onion_v3.cpp index 3575290..392dcc3 100644 --- a/src/tor/onion_v3.cpp +++ b/src/tor/onion_v3.cpp @@ -93,7 +93,7 @@ static std::string GetEffectiveTorProxy() } if (mapArgs.count("-tor") && mapArgs["-tor"] != "0") { - CService torProxy(mapArgs["-tor"], GetArg("-torsocks", 19099)); + CService torProxy(mapArgs["-tor"], (unsigned short)GetArg("-torsocks", 19099)); if (torProxy.IsValid()) { return torProxy.ToStringIPPort(); }