diff options
author | Tim Hughes <tim@twistedfury.com> | 2014-02-12 03:13:31 +0800 |
---|---|---|
committer | Tim Hughes <tim@twistedfury.com> | 2014-02-19 00:34:59 +0800 |
commit | 7a1f75ddbfba6f4eb15081d5ac3d5e58a7c9587f (patch) | |
tree | 3c9b9b47072a2bdac43f53d21e433937693abbea /peer.cpp | |
parent | 8aeece1eb51074ecab86105365c6f5176c9057cd (diff) | |
download | dexon-solidity-7a1f75ddbfba6f4eb15081d5ac3d5e58a7c9587f.tar.gz 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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]; } |