aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-09-21 06:04:27 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2012-09-21 06:04:27 -0700
commite96a8c7d86203f463c07d7552190b508ce6c011d (patch)
tree59cffaf563b74fe77d570a2e5e62694c617a0e9b /src/net.cpp
parent3ccbaa56f42d2c6fcb424b641ec84a138f0ee9bc (diff)
parent463a1cab43fda24f89f71fffc876756dc1bc155a (diff)
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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index c0693306af..651f4a974c 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;