X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa61d3525370a9b9fa8c797d9b7f89d96994db5f..a3669332df65cfae18e7540a267bc3400a64aa09:/src/gtk1/listbox.cpp?ds=inline diff --git a/src/gtk1/listbox.cpp b/src/gtk1/listbox.cpp index 260122e33c..ebfe1b76cb 100644 --- a/src/gtk1/listbox.cpp +++ b/src/gtk1/listbox.cpp @@ -589,7 +589,7 @@ void wxListBox::DoInsertItems(const wxArrayString& items, unsigned int pos) InvalidateBestSize(); GList *children = m_list->children; - int length = g_list_length(children); + unsigned int length = g_list_length(children); wxCHECK_RET( pos <= length, wxT("invalid index in wxListBox::InsertItems") );