aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/eqn/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/eqn/lex.c b/src/cmd/eqn/lex.c
index 7ddc1f59..99a716bb 100644
--- a/src/cmd/eqn/lex.c
+++ b/src/cmd/eqn/lex.c
@@ -48,7 +48,7 @@ yylex(void)
ERROR "quoted string %.20s... too long", token FATAL;
}
token[sp] = '\0';
- yylval = (int) &token[0];
+ yylval = (intptr_t)&token[0];
if (c == '\n')
ERROR "missing \" in %.20s", token WARNING;
return(QTEXT);