]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for the last printf format warning fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 14 Jun 2006 10:33:06 +0000 (10:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 14 Jun 2006 10:33:06 +0000 (10:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmprint.cpp

index f62cbc0133ceb79799eb0e21be65763cab13c565..8b957076f13a3a40eab225e1abfb4be964350982 100644 (file)
@@ -440,7 +440,7 @@ wxString wxHtmlPrintout::TranslateHeader(const wxString& instr, int page)
     num.Printf(wxT("%i"), page);
     r.Replace(wxT("@PAGENUM@"), num);
 
-    num.Printf(wxT("%lu"), m_PageBreaks.Count()-1);
+    num.Printf(wxT("%lu"), (unsigned long)(m_PageBreaks.Count() - 1));
     r.Replace(wxT("@PAGESCNT@"), num);
 
     return r;