fix -Wformat warnings all over the source

This commit is contained in:
Philip Kaufmann
2012-09-29 11:57:44 +02:00
committed by Wladimir J. van der Laan
parent bcc292b22d
commit d210f4f5b8
9 changed files with 32 additions and 32 deletions

View File

@@ -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());