diff --git a/src/gtk/radiobox.cpp b/src/gtk/radiobox.cpp index 07394f9b9e..86778400df 100644 --- a/src/gtk/radiobox.cpp +++ b/src/gtk/radiobox.cpp @@ -226,7 +226,7 @@ bool wxRadioBox::Create( wxWindow *parent, wxWindowID id, const wxString& title, wxString label; GSList *radio_button_group = (GSList *) NULL; - for (unsigned int i = 0; i < n; i++) + for (unsigned int i = 0; i < (unsigned int)n; i++) { if ( i != 0 ) radio_button_group = gtk_radio_button_get_group( GTK_RADIO_BUTTON(m_radio) );