From: Pankaj Date: Mon, 19 Oct 2015 09:17:28 +0000 (+0200) Subject: p11-kit: 'int' comparison with 'unsigned int' in for() for array index X-Git-Tag: 0.23.2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2db405ff7781ec43b77bd2592c41eff22e2b362a;p=p11-kit p11-kit: 'int' comparison with 'unsigned int' in for() for array index --- diff --git a/common/dict.c b/common/dict.c index db7b575..b7ab00d 100644 --- a/common/dict.c +++ b/common/dict.c @@ -244,7 +244,7 @@ void p11_dict_clear (p11_dict *dict) { dictbucket *bucket, *next; - int i; + unsigned int i; /* Free all entries in the array */ for (i = 0; i < dict->num_buckets; ++i) {