projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mention wxObject and wxEvent API changes
[wxWidgets.git]
/
src
/
common
/
dynarray.cpp
diff --git
a/src/common/dynarray.cpp
b/src/common/dynarray.cpp
index a081998ac9a4186b476fd4bb9b6cdfe5ec376907..2d8e1623780eb18101892a366b9eb048b60fc184 100644
(file)
--- a/
src/common/dynarray.cpp
+++ b/
src/common/dynarray.cpp
@@
-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