From 10d878a9ea0b6bf66c469afe265735721c81a1f7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 13 Aug 2006 20:30:17 +0000 Subject: [PATCH] fix printf() argument type in GetOsInfo() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/console/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/console/console.cpp b/samples/console/console.cpp index 7f0b545c80..73c652357b 100644 --- a/samples/console/console.cpp +++ b/samples/console/console.cpp @@ -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()); -- 2.47.2