diff options
| author | Philip Kaufmann <[email protected]> | 2012-09-05 23:36:19 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2012-09-12 21:30:47 +0200 |
| commit | 463a1cab43fda24f89f71fffc876756dc1bc155a (patch) | |
| tree | 718d8862d35004ad08cce7986534f51d9776c91f /src/bitcoinrpc.cpp | |
| parent | Bump client version number for 0.7.0rc3 (diff) | |
| download | discoin-463a1cab43fda24f89f71fffc876756dc1bc155a.tar.xz discoin-463a1cab43fda24f89f71fffc876756dc1bc155a.zip | |
fix signed/unsigned in strprintf and CNetAddr::GetByte()
- I checked every occurance of strprintf() in the code and used %u, where
unsigned vars are used
- the change to GetByte() was made, as ip is an unsigned char
Diffstat (limited to 'src/bitcoinrpc.cpp')
| -rw-r--r-- | src/bitcoinrpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index fa3923636..64154bf1b 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -816,7 +816,7 @@ void ThreadRPCServer2(void* parg) } catch(boost::system::system_error &e) { - strerr = strprintf(_("An error occurred while setting up the RPC port %i for listening on IPv4: %s"), endpoint.port(), e.what()); + strerr = strprintf(_("An error occurred while setting up the RPC port %u for listening on IPv4: %s"), endpoint.port(), e.what()); } if (!fListening) { |