[SCM] Samba Shared Repository - branch v3-6-test updated

Volker Lendecke vlendec at samba.org
Fri Feb 25 07:12:04 MST 2011


The branch, v3-6-test has been updated
       via  88b192f s3: Fix a 64-bit warning in vfs_gpfs.c
      from  7b047e3 s3-param: Make "rlimit_max below minimum Windows limit" notification less scary

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit 88b192fc85b315643116dbb8f88b19673afdc570
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
    (cherry picked from commit 242a63e95ab5ee286dd02dc0b25dceb6b4f82561)

-----------------------------------------------------------------------

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