From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Tue, 6 Apr 2010 18:46:05 +0000 (+0000) Subject: Suppress a harmless signed/unsigned comparison warning. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/96dfe7577ab7b85ba774a87fc2bc82c0f85025a4 Suppress a harmless signed/unsigned comparison warning. wxComboBox::FindString() used int loop index, change it to unsigned one. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/combobox_osx.cpp b/src/osx/combobox_osx.cpp index f13da37700..22ae6a9256 100644 --- a/src/osx/combobox_osx.cpp +++ b/src/osx/combobox_osx.cpp @@ -172,7 +172,7 @@ int wxComboBox::FindString(const wxString& s, bool bCase) const { if (!bCase) { - for (int i = 0; i < GetCount(); i++) + for (unsigned i = 0; i < GetCount(); i++) { if (s.IsSameAs(GetString(i), false)) return i;