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:
Vadim Zeitlin 2006-08-13 20:30:17 +00:00
parent 047aa29670
commit 10d878a9ea

View File

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