From ffc13a6525c7c72cbb858380e6870106bf5a7dfa Mon Sep 17 00:00:00 2001 From: michal Date: Wed, 21 Aug 2002 15:47:54 +0000 Subject: *.c: Int vs Long cleanup git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parse.y') diff --git a/parse.y b/parse.y index 42d091ac11..0ba14a1c73 100644 --- a/parse.y +++ b/parse.y @@ -954,7 +954,7 @@ arg : lhs '=' arg if ($2 && nd_type($2) == NODE_LIT && FIXNUM_P($2->nd_lit)) { long i = FIX2LONG($2->nd_lit); - $2->nd_lit = INT2NUM(-i); + $2->nd_lit = LONG2NUM(-i); $$ = $2; } else { @@ -3020,7 +3020,7 @@ here_document(here) { int c, func, indent = 0; char *eos; - int len; + long len; VALUE str = 0, line; eos = RSTRING(here->nd_lit)->ptr; -- cgit v1.2.3