summaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authormichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-21 15:47:54 +0000
committermichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-21 15:47:54 +0000
commitfa79abb533cc03018a50945bc1d88b2e1b90248f (patch)
tree3b51176716a877c59eebbe6e82533d2cae3d7bc5 /hash.c
parent2ab0494d233b2ee5f7eed92b7dfd0486ab36396d (diff)
downloadruby-fa79abb533cc03018a50945bc1d88b2e1b90248f.tar.gz
ruby-fa79abb533cc03018a50945bc1d88b2e1b90248f.tar.xz
ruby-fa79abb533cc03018a50945bc1d88b2e1b90248f.zip
*.c: Int vs Long cleanup
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hash.c b/hash.c
index c332f554c..46b7cecea 100644
--- a/hash.c
+++ b/hash.c
@@ -372,8 +372,6 @@ static VALUE
rb_hash_default_proc(hash)
VALUE hash;
{
- VALUE key;
-
if (FL_TEST(hash, HASH_PROC_DEFAULT)) {
return RHASH(hash)->ifnone;
}
@@ -1339,7 +1337,8 @@ env_reject_bang()
{
volatile VALUE keys;
VALUE *ptr;
- int len, del = 0;
+ long len;
+ int del = 0;
rb_secure(4);
keys = env_keys();