diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-25 06:09:58 -0700 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-02-25 14:56:51 +0100 |
commit | 242a63e95ab5ee286dd02dc0b25dceb6b4f82561 (patch) | |
tree | 129d22ea63ca8fb11db480b1e17987edd95f1300 /source3 | |
parent | ea9f72c0c5dc2b8271b66c11d477c09cc303969d (diff) | |
download | samba-242a63e95ab5ee286dd02dc0b25dceb6b4f82561.tar.gz samba-242a63e95ab5ee286dd02dc0b25dceb6b4f82561.tar.bz2 samba-242a63e95ab5ee286dd02dc0b25dceb6b4f82561.zip |
s3: Fix a 64-bit warning in vfs_gpfs.c
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 25 14:56:51 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_gpfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 462e3c55f1..7e7ee34ab1 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -1050,7 +1050,8 @@ static ssize_t gpfs_get_xattr(struct vfs_handle_struct *handle, const char *pat dosmode |= FILE_ATTRIBUTE_SPARSE; } - snprintf(attrstr, size, "0x%2.2x", dosmode & SAMBA_ATTRIBUTES_MASK); + snprintf(attrstr, size, "0x%2.2x", + (unsigned int)(dosmode & SAMBA_ATTRIBUTES_MASK)); DEBUG(10, ("gpfs_get_xattr: returning %s\n",attrstr)); return 4; } |