From 035b6a79d0bf0306076158fb7ae77f5b86774729 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 14 Mar 2006 23:16:13 +0000 Subject: [PATCH] Warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk1/choice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk1/choice.cpp b/src/gtk1/choice.cpp index 6558cf509b..0912181bcc 100644 --- a/src/gtk1/choice.cpp +++ b/src/gtk1/choice.cpp @@ -320,7 +320,7 @@ void wxChoice::Delete( int n ) Clear(); - for ( i = 0; i < count - 1; i++ ) + for ( i = 0; (size_t)i < count - 1; i++ ) { Append(items[i]); @@ -528,7 +528,7 @@ int wxChoice::GtkAddHelper(GtkWidget *menu, size_t pos, const wxString& item) // if we're called from ctor (and GtkMenuShell is still NULL) // normal control, just append - if (pos == (int)m_clientList.GetCount()) + if (pos == m_clientList.GetCount()) { gtk_menu_append( GTK_MENU(menu), menu_item ); m_clientList.Append( (wxObject*) NULL ); -- 2.45.2