Fix asserts in 64 bit builds due to using %u (expecting 32 bit values on a
typical Unix LP64 platform) for 64 bit long values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65675
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxString msg;
- msg.Printf(_(" Generation: %u (T: %u ms), Population: %u "),
+ msg.Printf(_(" Generation: %lu (T: %lu ms), Population: %lu "),
m_tics,
m_topspeed? 0 : m_interval,
- m_life->GetNumCells());
+ static_cast<unsigned long>(m_life->GetNumCells()));
m_text->SetLabel(msg);
}