git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8bad379
)
Void - return mismatch
author
svost
<ya.nowa@yandex.ru>
Sat, 6 Feb 2016 09:57:58 +0000 (12:57 +0300)
committer
svost
<ya.nowa@yandex.ru>
Sat, 6 Feb 2016 09:57:58 +0000 (12:57 +0300)
src/protocol.h
patch
|
blob
|
history
diff --git
a/src/protocol.h
b/src/protocol.h
index
ecc2e08
..
b4ebac6
100644
(file)
--- 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<unsigned short>(testnet ? 17777 : 7777);
}