[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Fri Feb 25 06:57:02 MST 2011
The branch, master has been updated
via 242a63e s3: Fix a 64-bit warning in vfs_gpfs.c
from ea9f72c s4:heimdal - fix valgrind issue on Fedora 14
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 242a63e95ab5ee286dd02dc0b25dceb6b4f82561
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 25 06:09:58 2011 -0700
s3: Fix a 64-bit warning in vfs_gpfs.c
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Fri Feb 25 14:56:51 CET 2011 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/modules/vfs_gpfs.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index 462e3c5..7e7ee34 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;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list