mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Use const unsigned char* for sourcepos
This commit is contained in:
parent
bb97ec8933
commit
6d6043775e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue