if ((int)(m_threadWorkersDone+m_eventWorkersDone) == m_maxConnections)
{
- wxLogMessage("%d connection(s) served, exiting",m_maxConnections);
+ wxLogMessage("%ld connection(s) served, exiting",m_maxConnections);
ExitMainLoop();
}
}
if (pParser.Found("m",&m_maxConnections))
{
- wxLogMessage("%d connection(s) to exit",m_maxConnections);
+ wxLogMessage("%ld connection(s) to exit",m_maxConnections);
}
long port;
{
if (it->GetData() == pEvent.m_sender)
{
- wxLogVerbose("Deleting thread worker (%d left)",
- m_threadWorkers.GetCount());
+ wxLogVerbose("Deleting thread worker (%lu left)",
+ static_cast<unsigned long>( m_threadWorkers.GetCount() ));
it->GetData()->Wait();
delete it->GetData();
m_threadWorkers.DeleteNode(it);
{
if (it2->GetData() == pEvent.m_sender)
{
- wxLogVerbose("Deleting event worker (%d left)",
- m_eventWorkers.GetCount());
+ wxLogVerbose("Deleting event worker (%lu left)",
+ static_cast<unsigned long>( m_eventWorkers.GetCount() ));
delete it2->GetData();
m_eventWorkers.DeleteNode(it2);
if (!pEvent.m_workerFailed)