summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2011-11-24 15:58:36 +0100
committerChristian Ambach <ambi@samba.org>2011-11-24 17:24:58 +0100
commit6753656c7464424519f9daa9f89576585511f574 (patch)
treeaeaf02607242ddf8dba030b879bea32ee9bdeb84 /source3/modules
parentdb1abd4d2d6f83a4c9729019ed91c7a92c66529c (diff)
downloadsamba-6753656c7464424519f9daa9f89576585511f574.tar.gz
samba-6753656c7464424519f9daa9f89576585511f574.tar.bz2
samba-6753656c7464424519f9daa9f89576585511f574.zip
s3:vfs:gpfs fix some compiler warnings
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_gpfs.c6
1 files 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) {