From: svost Date: Sat, 6 Feb 2016 09:57:58 +0000 (+0300) Subject: Void - return mismatch X-Git-Tag: nvc-v0.5.6~95^2~1 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=395b5c44639db6bcb74bf40013a4f726e567afdd Void - return mismatch --- diff --git a/src/protocol.h b/src/protocol.h index ecc2e08..b4ebac6 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -19,7 +19,7 @@ extern bool fTestNet; static inline unsigned short GetDefaultPort(const bool testnet = fTestNet) { - return testnet ? 17777 : 7777; + return static_cast(testnet ? 17777 : 7777); }