]> git.saurik.com Git - wxWidgets.git/commitdiff
printf() format warning fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 Sep 2002 18:38:31 +0000 (18:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 Sep 2002 18:38:31 +0000 (18:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/menu/menu.cpp

index bc87eebf62fb36fb180a7f4aaa0c02b18c5c43a1..ef1ee21bf529cbb99c4c50dfa8484a0d982a875b 100644 (file)
@@ -419,7 +419,7 @@ wxMenu *MyFrame::CreateDummyMenu(wxString *title)
 
     if ( title )
     {
-        title->Printf(wxT("Dummy menu &%d"), ++m_countDummy);
+        title->Printf(wxT("Dummy menu &%u"), (unsigned)++m_countDummy);
     }
 
     return menu;