summaryrefslogtreecommitdiff
path: root/source3/passdb/lookup_sid.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-11 21:56:57 -0700
committerJeremy Allison <jra@samba.org>2009-05-11 21:56:57 -0700
commitb4c9cfb2af8f4dd5e18f032c410694e491f1bd74 (patch)
treec4cfaa30ad841a7b425ecd903edf2f0fc304f833 /source3/passdb/lookup_sid.c
parent14c1e9fae2a34d77b0ba21ffb570e84b6e433a14 (diff)
downloadsamba-b4c9cfb2af8f4dd5e18f032c410694e491f1bd74.tar.gz
Fix a bunch of compiler warnings about wrong format types.
Should make Solaris 10 builds look cleaner. Jeremy.
Diffstat (limited to 'source3/passdb/lookup_sid.c')
-rw-r--r--source3/passdb/lookup_sid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c
index a5c2d503662..c1249f5eb4f 100644
--- a/source3/passdb/lookup_sid.c
+++ b/source3/passdb/lookup_sid.c
@@ -1319,7 +1319,7 @@ void uid_to_sid(DOM_SID *psid, uid_t uid)
* the next time we ask.
*/
DEBUG(5, ("uid_to_sid: winbind failed to find a sid "
- "for uid %u\n", uid));
+ "for uid %u\n", (unsigned int)uid));
legacy_uid_to_sid(psid, uid);
return;
@@ -1372,7 +1372,7 @@ void gid_to_sid(DOM_SID *psid, gid_t gid)
* the next time we ask.
*/
DEBUG(5, ("gid_to_sid: winbind failed to find a sid "
- "for gid %u\n", gid));
+ "for gid %u\n", (unsigned int)gid));
legacy_gid_to_sid(psid, gid);
return;