From d210f4f5b8f904809789a543adeba520686b7573 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Sat, 29 Sep 2012 11:57:44 +0200 Subject: fix -Wformat warnings all over the source --- src/irc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irc.cpp') diff --git a/src/irc.cpp b/src/irc.cpp index 2f3fcc386..ec7eea3cf 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()); -- cgit v1.2.3