summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_util.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/winbindd/idmap_util.c
parent14c1e9fae2a34d77b0ba21ffb570e84b6e433a14 (diff)
downloadsamba-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/winbindd/idmap_util.c')
-rw-r--r--source3/winbindd/idmap_util.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_util.c b/source3/winbindd/idmap_util.c
index ad4a7ddd99..7d261a611e 100644
--- a/source3/winbindd/idmap_util.c
+++ b/source3/winbindd/idmap_util.c
@@ -40,7 +40,8 @@ NTSTATUS idmap_uid_to_sid(const char *domname, DOM_SID *sid, uid_t uid)
if (winbindd_use_idmap_cache()
&& idmap_cache_find_uid2sid(uid, sid, &expired)) {
- DEBUG(10, ("idmap_cache_find_uid2sid found %d%s\n", uid,
+ DEBUG(10, ("idmap_cache_find_uid2sid found %u%s\n",
+ (unsigned int)uid,
expired ? " (expired)": ""));
if (expired && idmap_is_online()) {
DEBUG(10, ("revalidating expired entry\n"));
@@ -98,7 +99,8 @@ NTSTATUS idmap_gid_to_sid(const char *domname, DOM_SID *sid, gid_t gid)
if (winbindd_use_idmap_cache()
&& idmap_cache_find_gid2sid(gid, sid, &expired)) {
- DEBUG(10, ("idmap_cache_find_gid2sid found %d%s\n", gid,
+ DEBUG(10, ("idmap_cache_find_gid2sid found %u%s\n",
+ (unsigned int)gid,
expired ? " (expired)": ""));
if (expired && idmap_is_online()) {
DEBUG(10, ("revalidating expired entry\n"));