git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea9f72c
)
s3: Fix a 64-bit warning in vfs_gpfs.c
author
Volker Lendecke
<vl@samba.org>
Fri, 25 Feb 2011 13:09:58 +0000
(06:09 -0700)
committer
Volker Lendecke
<vlendec@samba.org>
Fri, 25 Feb 2011 13:56:51 +0000
(14:56 +0100)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 25 14:56:51 CET 2011 on sn-devel-104
source3/modules/vfs_gpfs.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_gpfs.c
b/source3/modules/vfs_gpfs.c
index 462e3c55f1daafff9aaf9d843231b4901e36864e..7e7ee34ab1f158b961da9fcdc188c235f388974e 100644
(file)
--- 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;
}