git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20347
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// do we need to extend the mapping array?
wxArrayInt& itm = *imgTypeMap;
- if ( itm.GetCount() < type+1)
+ if ( itm.GetCount() < (size_t)type+1)
itm.Add(-1, type - itm.GetCount() + 1);
// Add an item that maps type to the image index
(m_insideBox && node->GetName() == wxT("item")));
}
-#endif
\ No newline at end of file
+#endif
// do we need to extend the mapping array?
wxArrayInt& itm = *imgTypeMap;
- if ( itm.GetCount() < type+1)
+ if ( itm.GetCount() < (size_t)type+1)
itm.Add(-1, type - itm.GetCount() + 1);
// Add an item that maps type to the image index
(m_insideBox && node->GetName() == wxT("item")));
}
-#endif
\ No newline at end of file
+#endif