diff options
author | Jeremy Allison <jra@samba.org> | 2009-05-11 21:56:57 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-05-11 21:56:57 -0700 |
commit | b4c9cfb2af8f4dd5e18f032c410694e491f1bd74 (patch) | |
tree | c4cfaa30ad841a7b425ecd903edf2f0fc304f833 /source3/groupdb | |
parent | 14c1e9fae2a34d77b0ba21ffb570e84b6e433a14 (diff) | |
download | samba-b4c9cfb2af8f4dd5e18f032c410694e491f1bd74.tar.gz samba-b4c9cfb2af8f4dd5e18f032c410694e491f1bd74.tar.bz2 samba-b4c9cfb2af8f4dd5e18f032c410694e491f1bd74.zip |
Fix a bunch of compiler warnings about wrong format types.
Should make Solaris 10 builds look cleaner.
Jeremy.
Diffstat (limited to 'source3/groupdb')
-rw-r--r-- | source3/groupdb/mapping.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c index b952cda523..4f05d732f1 100644 --- a/source3/groupdb/mapping.c +++ b/source3/groupdb/mapping.c @@ -516,8 +516,8 @@ NTSTATUS pdb_default_create_alias(struct pdb_methods *methods, return NT_STATUS_ACCESS_DENIED; } - DEBUG(10, ("Creating alias %s with gid %d and rid %d\n", - name, gid, new_rid)); + DEBUG(10, ("Creating alias %s with gid %u and rid %u\n", + name, (unsigned int)gid, (unsigned int)new_rid)); sid_copy(&sid, get_global_sam_sid()); sid_append_rid(&sid, new_rid); @@ -787,7 +787,7 @@ NTSTATUS pdb_create_builtin_alias(uint32 rid) return NT_STATUS_ACCESS_DENIED; } - DEBUG(10,("Creating alias %s with gid %d\n", groupname, gid)); + DEBUG(10,("Creating alias %s with gid %u\n", groupname, (unsigned int)gid)); map.gid = gid; sid_copy(&map.sid, &sid); |