From 96dfe7577ab7b85ba774a87fc2bc82c0f85025a4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 6 Apr 2010 18:46:05 +0000 Subject: [PATCH] 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 --- src/osx/combobox_osx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2