Blame SOURCES/Correctly-size-loop-counter-in-gpp_special_available.patch

651382
From 06cee2eb9ba3096cf5f1e532dae56132fd69c948 Mon Sep 17 00:00:00 2001
651382
From: Robbie Harwood <rharwood@redhat.com>
651382
Date: Thu, 9 Apr 2020 12:00:04 -0400
651382
Subject: [PATCH] Correctly size loop counter in gpp_special_available_mechs()
651382
651382
Fixes compiler warning for clang in CI.
651382
651382
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
651382
(cherry picked from commit f9c0abb935125683972c9289db38dfe840f41b37)
651382
---
651382
 src/mechglue/gss_plugin.c | 3 +--
651382
 1 file changed, 1 insertion(+), 2 deletions(-)
651382
651382
diff --git a/src/mechglue/gss_plugin.c b/src/mechglue/gss_plugin.c
651382
index bf70d87..b9813dc 100644
651382
--- a/src/mechglue/gss_plugin.c
651382
+++ b/src/mechglue/gss_plugin.c
651382
@@ -306,7 +306,6 @@ gss_OID_set gpp_special_available_mechs(const gss_OID_set mechs)
651382
     struct gpp_special_oid_list *item;
651382
     gss_OID n;
651382
     uint32_t maj, min;
651382
-    int i;
651382
 
651382
     item = gpp_get_special_oids();
651382
 
651382
@@ -314,7 +313,7 @@ gss_OID_set gpp_special_available_mechs(const gss_OID_set mechs)
651382
     if (maj) {
651382
         return GSS_C_NO_OID_SET;
651382
     }
651382
-    for (i = 0; i < mechs->count; i++) {
651382
+    for (size_t i = 0; i < mechs->count; i++) {
651382
         while (item) {
651382
             if (gpp_is_special_oid(&mechs->elements[i])) {
651382
                 maj = gss_add_oid_set_member(&min,