heretic: Fix const correctness issue in GetStringByOffset and DEH_TextStart
This commit is contained in:
parent
b83a87dd93
commit
0e529f1408
1 changed files with 2 additions and 2 deletions
|
|
@ -688,7 +688,7 @@ static boolean StringIsUnsupported(unsigned int offset)
|
|||
return false;
|
||||
}
|
||||
|
||||
static boolean GetStringByOffset(unsigned int offset, char **result)
|
||||
static boolean GetStringByOffset(unsigned int offset, const char **result)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
@ -767,7 +767,7 @@ static void SuggestOtherVersions(unsigned int offset)
|
|||
static void *DEH_TextStart(deh_context_t *context, char *line)
|
||||
{
|
||||
char *repl_text;
|
||||
char *orig_text;
|
||||
const char *orig_text;
|
||||
int orig_offset, repl_len;
|
||||
int i;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue