compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user