mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-20 06:00:21 +02:00
Using size_t for lengths (also remove most warnings when compiling for x64)
This commit is contained in:
1 parent
a0f2dccd07
commit
85b7ac3ed5
53 files changed
+814
-514
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user