From b4c9cfb2af8f4dd5e18f032c410694e491f1bd74 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 11 May 2009 21:56:57 -0700 Subject: Fix a bunch of compiler warnings about wrong format types. Should make Solaris 10 builds look cleaner. Jeremy. --- source3/groupdb/mapping.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/groupdb') 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); -- cgit