From cc36e11b6621281e2f3e700a1b38327adcff2b71 Mon Sep 17 00:00:00 2001 From: Zachary Scott Date: Fri, 13 Nov 2015 11:02:30 +0900 Subject: Merge trunk upstream --- ext/openssl/ossl_x509req.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/openssl/ossl_x509req.c') diff --git a/ext/openssl/ossl_x509req.c b/ext/openssl/ossl_x509req.c index 05d7ef99..e5ce088a 100644 --- a/ext/openssl/ossl_x509req.c +++ b/ext/openssl/ossl_x509req.c @@ -418,18 +418,18 @@ ossl_x509req_set_attributes(VALUE self, VALUE ary) { X509_REQ *req; X509_ATTRIBUTE *attr; - int i; + long i; VALUE item; Check_Type(ary, T_ARRAY); for (i=0;ireq_info->attributes, X509_ATTRIBUTE_free); req->req_info->attributes = NULL; for (i=0;i