Using size_t for lengths (also remove most warnings when compiling for x64)

This commit is contained in:
Ley0k committed 2017-02-19 21:14:27 +01:00
1 parent a0f2dccd07
commit 85b7ac3ed5
53 files changed
+814 -514

No files matched your search

+2 -2
View File
@@ -333,7 +333,7 @@ void ScriptClass::RemoveThread( ScriptVM *m_ScriptVM )
{
m_Threads = m_ScriptVM->next;
if( m_ScriptVM->next == NULL ) {
if( m_Threads == NULL ) {
delete this;
}
}
@@ -1912,7 +1912,7 @@ __execMethodInternal:
break;
case OP_UN_SIZE:
pTop->setIntValue( pTop->size() );
pTop->setIntValue( ( int )pTop->size() );
break;
case OP_UN_TARGETNAME: