From: Shweta Sodani Date: Wed, 18 Mar 2026 14:30:21 +0000 (+0530) Subject: vfs_ceph_new: fix typecast error in vfs_ceph_flistxattr X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cecbdb73fbf103d68d0275adaf8083a730171fce;p=thirdparty%2Fsamba.git vfs_ceph_new: fix typecast error in vfs_ceph_flistxattr Signed-off-by: Shweta Sodani Reviewed-by: Anoop C S Reviewed-by: John Mulligan Autobuild-User(master): Anoop C S Autobuild-Date(master): Fri Mar 20 06:35:12 UTC 2026 on atb-devel-224 --- diff --git a/source3/modules/vfs_ceph_new.c b/source3/modules/vfs_ceph_new.c index d49f74c0642..530dffe7941 100644 --- a/source3/modules/vfs_ceph_new.c +++ b/source3/modules/vfs_ceph_new.c @@ -4336,7 +4336,7 @@ static ssize_t vfs_ceph_flistxattr(struct vfs_handle_struct *handle, goto out; } } - ret = (int)list_size; + ret = (ssize_t)list_size; out: DBG_DEBUG("[CEPH] flistxattr done: ret=%zd\n", ret); END_PROFILE_X(syscall_flistxattr);