size_t ui = size() - 1; \
do { \
if ( (T*)base_array::operator[](ui) == &Item ) \
- return ui; \
+ return wx_static_cast(int, ui); \
ui--; \
} \
while ( ui != 0 ); \
else { \
for( size_t ui = 0; ui < size(); ui++ ) { \
if( (T*)base_array::operator[](ui) == &Item ) \
- return ui; \
+ return wx_static_cast(int, ui); \
} \
} \
\