eqn: use intptr to silence 64-bit warning (Michael Teichgräber)

This commit is contained in:
Russ Cox 2008-03-06 15:13:02 -05:00
parent 34167aa6b0
commit c42f7f4201

View file

@ -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);