mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-18 02:00:22 +02:00
Use const unsigned char* for sourcepos
This commit is contained in:
1 file changed
+1
-1
@@ -1544,7 +1544,7 @@ size_t ScriptCompiler::Compile(GameScript *gameScript, unsigned char *progBuffer
|
||||
code_ptr = progBuffer;
|
||||
prog_ptr = progBuffer;
|
||||
|
||||
gameScript->m_ProgToSource = new con_set<unsigned char *, sourceinfo_t>;
|
||||
gameScript->m_ProgToSource = new con_set<const unsigned char *, sourceinfo_t>;
|
||||
|
||||
compileSuccess = true;
|
||||
|
||||
|
||||
Reference in new issue
Block a user