From c42f7f420164d651905fbadbe9bbd8618132d951 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 6 Mar 2008 15:13:02 -0500 Subject: =?UTF-8?q?eqn:=20use=20intptr=20to=20silence=2064-bit=20warning?= =?UTF-8?q?=20(Michael=20Teichgr=C3=A4ber)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cmd/eqn/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd') 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); -- cgit v1.2.3