aboutsummaryrefslogtreecommitdiffstats
path: root/peer.cpp
diff options
context:
space:
mode:
authorTim Hughes <tim@twistedfury.com>2014-02-12 03:13:31 +0800
committerTim Hughes <tim@twistedfury.com>2014-02-19 00:34:59 +0800
commit7a1f75ddbfba6f4eb15081d5ac3d5e58a7c9587f (patch)
tree3c9b9b47072a2bdac43f53d21e433937693abbea /peer.cpp
parent8aeece1eb51074ecab86105365c6f5176c9057cd (diff)
downloaddexon-solidity-7a1f75ddbfba6f4eb15081d5ac3d5e58a7c9587f.tar
dexon-solidity-7a1f75ddbfba6f4eb15081d5ac3d5e58a7c9587f.tar.gz
dexon-solidity-7a1f75ddbfba6f4eb15081d5ac3d5e58a7c9587f.tar.bz2
dexon-solidity-7a1f75ddbfba6f4eb15081d5ac3d5e58a7c9587f.tar.lz
dexon-solidity-7a1f75ddbfba6f4eb15081d5ac3d5e58a7c9587f.tar.xz
dexon-solidity-7a1f75ddbfba6f4eb15081d5ac3d5e58a7c9587f.tar.zst
dexon-solidity-7a1f75ddbfba6f4eb15081d5ac3d5e58a7c9587f.zip
Work in progress on Visual Studio 2013 compile fixes. Libethereum compiles again but not sorted out linking dependencies yet.
Diffstat (limited to 'peer.cpp')
-rw-r--r--peer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/peer.cpp b/peer.cpp
index 3f97b69d..6dfe363f 100644
--- a/peer.cpp
+++ b/peer.cpp
@@ -38,11 +38,11 @@ int peerTest(int argc, char** argv)
{
string arg = argv[i];
if (arg == "-l" && i + 1 < argc)
- listenPort = atoi(argv[++i]);
+ listenPort = (short)atoi(argv[++i]);
else if (arg == "-r" && i + 1 < argc)
remoteHost = argv[++i];
else if (arg == "-p" && i + 1 < argc)
- remotePort = atoi(argv[++i]);
+ remotePort = (short)atoi(argv[++i]);
else
remoteHost = argv[i];
}