fix printf() argument type in GetOsInfo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
047aa29670
commit
10d878a9ea
@ -1502,7 +1502,7 @@ static void TestOsInfo()
|
||||
wxPrintf(_T("Running under: %s, version %d.%d\n"),
|
||||
wxGetOsDescription().c_str(), major, minor);
|
||||
|
||||
wxPrintf(_T("%ld free bytes of memory left.\n"), wxGetFreeMemory());
|
||||
wxPrintf(_T("%ld free bytes of memory left.\n"), wxGetFreeMemory().ToLong());
|
||||
|
||||
wxPrintf(_T("Host name is %s (%s).\n"),
|
||||
wxGetHostName().c_str(), wxGetFullHostName().c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user