openbsd-ports/math/hc/patches/patch-hc_y

13 lines
300 B
Plaintext
Raw Normal View History

$OpenBSD: patch-hc_y,v 1.1 2005/03/16 20:26:51 robert Exp $
--- hc.y.orig Thu Sep 14 04:50:45 2000
+++ hc.y Wed Mar 16 21:21:59 2005
@@ -133,7 +133,7 @@ int yylex() {
if (isdigit(c)) {
ungetc(c, stdin);
- scanf("%li",&yylval);
+ scanf("%i",&yylval);
return NUMBER;
}
if (c == '\n')