aboutsummaryrefslogtreecommitdiff
path: root/src/irc.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-09-29 11:57:44 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2012-10-01 19:45:42 +0200
commitd210f4f5b8f904809789a543adeba520686b7573 (patch)
tree299bb3ab647c1bacdcb393f80a0e84a68f0cfd8e /src/irc.cpp
parentbcc292b22d847c15776403197fcacc5ddbb6cd20 (diff)
fix -Wformat warnings all over the source
Diffstat (limited to 'src/irc.cpp')
-rw-r--r--src/irc.cpp2
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());