]> git.saurik.com Git - wxWidgets.git/commitdiff
printf format spec warning fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Jun 2006 14:51:10 +0000 (14:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Jun 2006 14:51:10 +0000 (14:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmprint.cpp

index 739b1e4e1c8d097a197a9fe81e82a0ace23eae64..f62cbc0133ceb79799eb0e21be65763cab13c565 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("%i"), m_PageBreaks.Count()-1);
+    num.Printf(wxT("%lu"), m_PageBreaks.Count()-1);
     r.Replace(wxT("@PAGESCNT@"), num);
 
     return r;