summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPankaj <pankaj.s01@samsung.com>2015-10-19 11:19:33 +0200
committerStef Walter <stefw@redhat.com>2015-10-19 11:20:17 +0200
commit3be562d4d386eddc79489715507d979135d4b74a (patch)
treeada852ebaa3cf3f470da10d0ac781d79522f3108
parent2db405ff7781ec43b77bd2592c41eff22e2b362a (diff)
downloadp11-kit-3be562d4d386eddc79489715507d979135d4b74a.tar.gz
p11-kit: 'int' comparison with 'unsigned int' in for() for the array index
https://bugs.freedesktop.org/show_bug.cgi?id=92443
-rw-r--r--common/array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/array.c b/common/array.c
index 9bff748..185ea2f 100644
--- a/common/array.c
+++ b/common/array.c
@@ -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++)