compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-07-09 12:21:43 +00:00
parent 1629fb3b72
commit e9d9f136ee
3 changed files with 9 additions and 6 deletions

View File

@@ -212,7 +212,7 @@ int wxBaseArray::Index(long lItem, CMPFUNC fnCompare) const
{
size_t n = IndexForInsert(lItem, fnCompare);
return n < m_nCount && m_pItems[n] == lItem ? n : wxNOT_FOUND;
return n < m_nCount && m_pItems[n] == lItem ? (int)n : wxNOT_FOUND;
}
// add item at the end