libcli: Fix a signed/unsigned hickup
authorVolker Lendecke <vl@samba.org>
Mon, 13 Nov 2017 07:53:04 +0000 (08:53 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 13 Nov 2017 22:54:46 +0000 (23:54 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/security/util_sid.c

index 0709a7a69e3f2c5077054149a5ac2c7496e1d884..50133a14075f06d4977444c4462f390a6761cf78 100644 (file)
@@ -195,7 +195,7 @@ static const struct {
 
 const char *sid_type_lookup(uint32_t sid_type)
 {
-       int i;
+       size_t i;
 
        /* Look through list */
        for (i=0; i < ARRAY_SIZE(sid_name_type); i++) {