diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-09-21 06:04:27 -0700 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-09-21 06:04:27 -0700 |
| commit | e96a8c7d86203f463c07d7552190b508ce6c011d (patch) | |
| tree | 59cffaf563b74fe77d570a2e5e62694c617a0e9b /src/net.cpp | |
| parent | comment update: it's -> its (diff) | |
| parent | fix signed/unsigned in strprintf and CNetAddr::GetByte() (diff) | |
| download | discoin-e96a8c7d86203f463c07d7552190b508ce6c011d.tar.xz discoin-e96a8c7d86203f463c07d7552190b508ce6c011d.zip | |
Merge pull request #1793 from Diapolo/fix_signed_unsigned_strprintf
fix signed/unsigned in strprintf and CNetAddr::GetByte()
Diffstat (limited to 'src/net.cpp')
| -rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index c0693306a..651f4a974 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1025,7 +1025,7 @@ void ThreadMapPort2(void* parg) { printf("ThreadMapPort started\n"); - std::string port = strprintf("%d", GetListenPort()); + std::string port = strprintf("%u", GetListenPort()); const char * multicastif = 0; const char * minissdpdpath = 0; struct UPNPDev * devlist = 0; |