aboutsummaryrefslogtreecommitdiff
path: root/src/lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/lex.l')
-rw-r--r--src/lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lex.l b/src/lex.l
index c33f2a62..3a069afb 100644
--- a/src/lex.l
+++ b/src/lex.l
@@ -93,7 +93,7 @@ variable_or_const()
} v;
const struct value *value_ptr;
- switch (variable_or_constant_lookup(yylval.literal->text, &v)) {
+ switch (variable_or_constant_lookup(yylval.literal->text, (void**)&v)) {
case SYM_UNDEF:
parse_error(_("Variable %s is not defined"),
yylval.literal->text);

Return to:

Send suggestions and report system problems to the System administrator.