From aafbc3454c88ffed16875c4e61dd33ac889b23c8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 22 Aug 2002 23:22:45 +0000 Subject: [PATCH] fix for gcc warning about incorrect format arg git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/text/text.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/samples/text/text.cpp b/samples/text/text.cpp index 50e24835aa..c48115e70d 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -1169,8 +1169,9 @@ void MyFrame::OnFileSave(wxCommandEvent& event) #if wxUSE_FILE // verify that the fil length is correct (it wasn't under Win95) wxFile file(wxT("dummy.txt")); - wxLogStatus(this, _T("Successfully saved file (text len = %ld, file size = %ld)"), - m_panel->m_textrich->GetValue().length(), + wxLogStatus(this, + _T("Successfully saved file (text len = %lu, file size = %ld)"), + (unsigned long)m_panel->m_textrich->GetValue().length(), file.Length()); #endif } -- 2.49.0