git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a bunch of compiler warnings about wrong format types.
[ira/wip.git]
/
source3
/
groupdb
/
mapping.c
diff --git
a/source3/groupdb/mapping.c
b/source3/groupdb/mapping.c
index b952cda52300df78a76a43b89002fa11b353c3a4..4f05d732f14b41cae3f6d8b3c96a4f0382c6f18c 100644
(file)
--- 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;
}
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);
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;
}
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);
map.gid = gid;
sid_copy(&map.sid, &sid);