]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib: Align an integer type
authorVolker Lendecke <vl@samba.org>
Wed, 3 Aug 2022 09:05:33 +0000 (11:05 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 4 Aug 2022 20:44:32 +0000 (20:44 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/replace/xattr.c

index 01215f1a9f39d71cf910a7148271643a9b0f163f..4869367b7da9230312e2aff59f56f4bdd054670c 100644 (file)
@@ -210,7 +210,8 @@ typedef union {
 static ssize_t bsd_attr_list (int type, extattr_arg arg, char *list, size_t size)
 {
        ssize_t list_size, total_size = 0;
-       int i, t, len;
+       int i, len;
+       size_t t;
        char *buf;
        /* Iterate through extattr(2) namespaces */
        for(t = 0; t < ARRAY_SIZE(extattr); t++) {