]> granicus.if.org Git - p11-kit/commitdiff
p11-kit: 'int' comparison with 'unsigned int' in for() for array index
authorPankaj <pankaj.s01@samsung.com>
Mon, 19 Oct 2015 09:17:28 +0000 (11:17 +0200)
committerStef Walter <stefw@redhat.com>
Mon, 19 Oct 2015 09:17:28 +0000 (11:17 +0200)
common/dict.c

index db7b575fe13fc8acde2d84673bc031e7484034f5..b7ab00d2709b912411f2621f0ad0e79e92b97a80 100644 (file)
@@ -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) {