platform/shared/common/RhodesApp.cpp in rhodes-1.5.4 vs platform/shared/common/RhodesApp.cpp in rhodes-1.5.5
- old
+ new
@@ -612,10 +612,10 @@
return strRes;
}
unsigned long CRhodesApp::getCallbackObject(int nIndex)
{
- if ( nIndex < 0 || nIndex > m_arCallbackObjects.size() )
+ if ( nIndex < 0 || nIndex > (int)m_arCallbackObjects.size() )
return rho_ruby_get_NIL();
ICallbackObject* pCallbackObject = m_arCallbackObjects.elementAt(nIndex);
m_arCallbackObjects.setElementAt(0,nIndex);