]> 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:08:14 +0000 (11:08 +0200)
committerStef Walter <stef@thewalter.net>
Mon, 19 Oct 2015 09:08:14 +0000 (11:08 +0200)
https://bugs.freedesktop.org/show_bug.cgi?id=92445

p11-kit/proxy.c

index 28fd18621ed0337247a15a812ac45d71bf835d00..c55451133ce2cf5a2a3080aa188da462e1c28700 100644 (file)
@@ -415,7 +415,7 @@ proxy_C_GetSlotList (CK_X_FUNCTION_LIST *self,
        Mapping *mapping;
        CK_ULONG index;
        CK_RV rv = CKR_OK;
-       int i;
+       unsigned int i;
 
        return_val_if_fail (count != NULL, CKR_ARGUMENTS_BAD);