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 --- pack.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pack.c') diff --git a/pack.c b/pack.c index f1d9fd1863..7316c1dc7c 100644 --- a/pack.c +++ b/pack.c @@ -338,9 +338,8 @@ pack_pack(ary, fmt) char *p, *pend; VALUE res, from, associates = 0; char type; - long items, len, idx; + long items, len, idx, plen; char *ptr; - int plen; #ifdef NATINT_PACK int natint; /* native integer */ #endif @@ -1074,7 +1073,8 @@ pack_unpack(str, fmt) char *p, *pend; VALUE ary; char type; - int len, tmp, star; + long len; + int tmp, star; #ifdef NATINT_PACK int natint; /* native integer */ #endif @@ -1493,7 +1493,7 @@ pack_unpack(str, fmt) { VALUE buf = infected_str_new(0, (send - s)*3/4, str); char *ptr = RSTRING(buf)->ptr; - int total = 0; + long total = 0; while (s < send && *s > ' ' && *s < 'a') { long a,b,c,d; -- cgit v1.2.3