From: Włodzimierz Skiba Date: Tue, 28 Mar 2006 14:15:10 +0000 (+0000) Subject: Warning fix for wxOS2 night build. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/020e385d47a4a76f1d7246a9751c35e1001db38b Warning fix for wxOS2 night build. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/os2/listbox.cpp b/src/os2/listbox.cpp index b8adb5cec7..410fe754da 100644 --- a/src/os2/listbox.cpp +++ b/src/os2/listbox.cpp @@ -607,7 +607,7 @@ void wxListBox::SetString(unsigned int n, const wxString& rsString) int nNewN = n; - if (n == (int)(m_nNumItems - 1)) + if (n == (m_nNumItems - 1)) nNewN = -1; ::WinSendMsg( GetHwnd()