From c89ae5f0f65d727bd7084a52175089aa60dda428 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 3 Aug 2022 11:05:33 +0200 Subject: [PATCH] lib: Align an integer type Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- lib/replace/xattr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/replace/xattr.c b/lib/replace/xattr.c index 01215f1a9f3..4869367b7da 100644 --- a/lib/replace/xattr.c +++ b/lib/replace/xattr.c @@ -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++) { -- 2.47.3