From fa79abb533cc03018a50945bc1d88b2e1b90248f 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: http://svn.ruby-lang.org/repos/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 f1d9fd186..7316c1dc7 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