From 6753656c7464424519f9daa9f89576585511f574 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Thu, 24 Nov 2011 15:58:36 +0100 Subject: s3:vfs:gpfs fix some compiler warnings --- source3/modules/vfs_gpfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 9d09777cad..d879124cd9 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -185,7 +185,7 @@ static int vfs_gpfs_get_real_filename(struct vfs_handle_struct *handle, static void gpfs_dumpacl(int level, struct gpfs_acl *gacl) { - int i; + gpfs_aclCount_t i; if (gacl==NULL) { DEBUG(0, ("gpfs acl is NULL\n")); @@ -255,7 +255,7 @@ static struct gpfs_acl *gpfs_getacl_alloc(const char *fname, gpfs_aclType_t type */ static int gpfs_get_nfs4_acl(const char *fname, SMB4ACL_T **ppacl) { - int i; + gpfs_aclCount_t i; struct gpfs_acl *gacl = NULL; DEBUG(10, ("gpfs_get_nfs4_acl invoked for %s\n", fname)); @@ -509,7 +509,7 @@ static NTSTATUS gpfsacl_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp static SMB_ACL_T gpfs2smb_acl(const struct gpfs_acl *pacl) { SMB_ACL_T result; - int i; + gpfs_aclCount_t i; result = sys_acl_init(pacl->acl_nace); if (result == NULL) { -- cgit