Blame SOURCES/ruby-2.6.9-Do-not-use-C99.patch
|
|
9f47f6 |
diff --git a/hash.c b/hash.c
|
|
|
9f47f6 |
index 38440f4b96..b4b077fada 100644
|
|
|
9f47f6 |
--- a/hash.c
|
|
|
9f47f6 |
+++ b/hash.c
|
|
|
9f47f6 |
@@ -5656,9 +5656,10 @@ static void
|
|
|
9f47f6 |
keylist_delete(VALUE keys, VALUE key)
|
|
|
9f47f6 |
{
|
|
|
9f47f6 |
long keylen, elen;
|
|
|
9f47f6 |
+ long i;
|
|
|
9f47f6 |
const char *keyptr, *eptr;
|
|
|
9f47f6 |
RSTRING_GETMEM(key, keyptr, keylen);
|
|
|
9f47f6 |
- for (long i=0; i
|
|
|
9f47f6 |
+ for (i=0; i
|
|
|
9f47f6 |
VALUE e = RARRAY_AREF(keys, i);
|
|
|
9f47f6 |
RSTRING_GETMEM(e, eptr, elen);
|
|
|
9f47f6 |
if (elen != keylen) continue;
|