diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-10-01 16:52:42 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-10-01 16:52:42 -0400 |
commit | 0547b02af78dcf2d84e4905b56c7f95d9582b2f9 (patch) | |
tree | 6b0990d6e227a056b825825c3276536238b5b3c6 /src/irc.cpp | |
parent | d2cc6f489cc8dffdf80e5535795ab37bb642b1bc (diff) | |
parent | 827d8c2e0cc08bae775c191a44d3574a7909dc3c (diff) |
Merge branch '2012_09_fixwformat' of github.com:laanwj/bitcoin
Diffstat (limited to 'src/irc.cpp')
-rw-r--r-- | src/irc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc.cpp b/src/irc.cpp index 2f3fcc386e..ec7eea3cf4 100644 --- a/src/irc.cpp +++ b/src/irc.cpp @@ -260,7 +260,7 @@ void ThreadIRCSeed2(void* parg) if (!fNoListen && GetLocal(addrLocal, &addrIPv4) && nNameRetry<3) strMyName = EncodeAddress(GetLocalAddress(&addrConnect)); if (strMyName == "") - strMyName = strprintf("x%u", GetRand(1000000000)); + strMyName = strprintf("x%"PRI64u"", GetRand(1000000000)); Send(hSocket, strprintf("NICK %s\r", strMyName.c_str()).c_str()); Send(hSocket, strprintf("USER %s 8 * : %s\r", strMyName.c_str(), strMyName.c_str()).c_str()); |