From 395b5c44639db6bcb74bf40013a4f726e567afdd Mon Sep 17 00:00:00 2001 From: svost Date: Sat, 6 Feb 2016 12:57:58 +0300 Subject: [PATCH] Void - return mismatch --- src/protocol.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); } -- 1.7.1