From 52912db4a81f9b9b69ab9e9fcd95e22d086d4289 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 4 Nov 2015 07:18:01 +0000 Subject: ext: adjust index type * ext: use long for index instead of int and RARRAY_LENINT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl_x509crl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/openssl/ossl_x509crl.c') diff --git a/ext/openssl/ossl_x509crl.c b/ext/openssl/ossl_x509crl.c index 7293fce5a6..63c63aca24 100644 --- a/ext/openssl/ossl_x509crl.c +++ b/ext/openssl/ossl_x509crl.c @@ -302,7 +302,7 @@ ossl_x509crl_set_revoked(VALUE self, VALUE ary) { X509_CRL *crl; X509_REVOKED *rev; - int i; + long i; Check_Type(ary, T_ARRAY); /* All ary members should be X509 Revoked */ @@ -476,7 +476,7 @@ ossl_x509crl_set_extensions(VALUE self, VALUE ary) { X509_CRL *crl; X509_EXTENSION *ext; - int i; + long i; Check_Type(ary, T_ARRAY); /* All ary members should be X509 Extensions */ -- cgit v1.2.3