mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-23 09:00:19 +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
@@ -1739,7 +1739,7 @@ int yyerror( const char *msg )
|
||||
return 1;
|
||||
}
|
||||
|
||||
unsigned int ScriptCompiler::Parse( GameScript *gameScript, char *sourceBuffer )
|
||||
size_t ScriptCompiler::Parse( GameScript *gameScript, char *sourceBuffer )
|
||||
{
|
||||
parsedata = yyparsedata();
|
||||
|
||||
@@ -1786,9 +1786,9 @@ unsigned int ScriptCompiler::Parse( GameScript *gameScript, char *sourceBuffer )
|
||||
return parsedata.total_length;
|
||||
}
|
||||
|
||||
unsigned int ScriptCompiler::Compile( GameScript *gameScript, unsigned char *progBuffer )
|
||||
size_t ScriptCompiler::Compile( GameScript *gameScript, unsigned char *progBuffer )
|
||||
{
|
||||
int length;
|
||||
size_t length;
|
||||
|
||||
if( progBuffer == NULL )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user