From: Christian Ambach Date: Thu, 24 Nov 2011 14:58:36 +0000 (+0100) Subject: s3:vfs:gpfs fix some compiler warnings X-Git-Url: http://git.samba.org/samba.git/?p=kai%2Fsamba.git;a=commitdiff_plain;h=6753656c7464424519f9daa9f89576585511f574 s3:vfs:gpfs fix some compiler warnings --- diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 9d09777cad9..d879124cd92 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) {