X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b6da0a258d6911c74bed2113bb64e52939fa2c4..6d7b547184bfdcdf67790755deb0122050b1d728:/src/html/htmprint.cpp diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp index f62cbc0133..8b957076f1 100644 --- a/src/html/htmprint.cpp +++ b/src/html/htmprint.cpp @@ -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;