diff options
author | Russ Cox <rsc@swtch.com> | 2008-03-06 15:13:02 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2008-03-06 15:13:02 -0500 |
commit | c42f7f420164d651905fbadbe9bbd8618132d951 (patch) | |
tree | 4143afa385db84b177ec220270d141ef41245b12 /src/cmd/eqn | |
parent | 34167aa6b0d7d53016b8574b4fe1fac764ddf615 (diff) | |
download | plan9port-c42f7f420164d651905fbadbe9bbd8618132d951.tar.gz plan9port-c42f7f420164d651905fbadbe9bbd8618132d951.tar.bz2 plan9port-c42f7f420164d651905fbadbe9bbd8618132d951.zip |
eqn: use intptr to silence 64-bit warning (Michael Teichgräber)
Diffstat (limited to 'src/cmd/eqn')
-rw-r--r-- | src/cmd/eqn/lex.c | 2 |
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); |