From f1560fa6df2c2d3bbba95250c838d1b540e7e535 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 3 May 2006 16:18:37 +0000 Subject: [PATCH] fixed printf format warning on 64 bit platforms git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/htmllbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index e0b3fd08f1..b104f3c2f5 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -301,7 +301,7 @@ void wxHtmlListBox::CacheItem(size_t n) const // set the cell's ID to item's index so that CellCoordsToPhysical() // can quickly find the item: - cell->SetId(wxString::Format(_T("%u"), n)); + cell->SetId(wxString::Format(_T("%lu"), (unsigned long)n)); cell->Layout(GetClientSize().x - 2*GetMargins().x);