mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-26 18:27:50 +00:00
expr: increase size of varname
This commit is contained in:
parent
dc0814ae46
commit
5792eefdaf
2
Externals/expr/include/expr.h
vendored
2
Externals/expr/include/expr.h
vendored
@ -783,7 +783,7 @@ static struct expr *expr_create(const char *s, size_t len,
|
||||
struct expr *p = &root;
|
||||
/* Assign macro parameters */
|
||||
for (int j = 0; j < vec_len(&arg.args); j++) {
|
||||
char varname[12];
|
||||
char varname[13];
|
||||
snprintf(varname, sizeof(varname), "$%d", (j + 1));
|
||||
struct expr_var *v = expr_get_var(vars, varname, strlen(varname));
|
||||
struct expr ev = expr_varref(v);
|
||||
|
Loading…
Reference in New Issue
Block a user