Fix string constness issues in RGBASM

This commit is contained in:
ISSOtm
2022-02-05 13:34:47 +01:00
committed by Eldred Habert
parent b3304ae1ac
commit bbae9966e9
4 changed files with 6 additions and 6 deletions

View File

@@ -101,7 +101,7 @@ char const *macro_GetArg(uint32_t i)
: macroArgs->args[realIndex];
}
char *macro_GetAllArgs(void)
char const *macro_GetAllArgs(void)
{
if (!macroArgs)
return NULL;

View File

@@ -24,12 +24,12 @@ struct OptStackEntry {
static struct OptStackEntry *stack = NULL;
void opt_B(char chars[2])
void opt_B(char const chars[2])
{
lexer_SetBinDigits(chars);
}
void opt_G(char chars[4])
void opt_G(char const chars[4])
{
lexer_SetGfxDigits(chars);
}