aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/eqn
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/eqn')
-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 56ed994c..7ddc1f59 100644
--- a/src/cmd/eqn/lex.c
+++ b/src/cmd/eqn/lex.c
@@ -142,7 +142,7 @@ void getstr(char *s, int n)
}
unput(c);
*p = '\0';
- yylval = (int) s;
+ yylval = (uintptr_t)s;
}
int