summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPankaj <pankaj.s01@samsung.com>2015-10-19 11:17:28 +0200
committerStef Walter <stefw@redhat.com>2015-10-19 11:17:28 +0200
commit2db405ff7781ec43b77bd2592c41eff22e2b362a (patch)
treea178ffcedd203ca9a05a65d6fcdb371de9dabcf5
parentc57c1d592c82da7f444cde440c5f32930542b43a (diff)
p11-kit: 'int' comparison with 'unsigned int' in for() for array index
-rw-r--r--common/dict.c2
1 files changed, 1 insertions, 1 deletions
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) {