]> granicus.if.org Git - p11-kit/commitdiff
p11-kit: 'int' comparison with 'unsigned int' in for() for the array index
authorPankaj <pankaj.s01@samsung.com>
Mon, 19 Oct 2015 09:19:33 +0000 (11:19 +0200)
committerStef Walter <stefw@redhat.com>
Mon, 19 Oct 2015 09:20:17 +0000 (11:20 +0200)
https://bugs.freedesktop.org/show_bug.cgi?id=92443

common/array.c

index 9bff7480f975bea11b03fe9b1faadd22168a3c38..185ea2ff1ba61ade5d4bd3503e15f70ce0792729 100644 (file)
@@ -118,7 +118,7 @@ p11_array_remove (p11_array *array,
 void
 p11_array_clear (p11_array *array)
 {
-       int i;
+       unsigned int i;
 
        if (array->destroyer) {
                for (i = 0; i < array->num; i++)