openbsd-ports/math/hc/patches/patch-hc_y
robert f78d86f930 - use a signed int instead of long int; (now it works on sparc64)
- regen patches

requested and ok by naddy@
2005-03-16 20:26:51 +00:00

13 lines
300 B
Plaintext

$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')