summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_cache.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-16 01:47:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:31 -0500
commit300acb99ad9fcd4a36998d4ee4d8349478deca59 (patch)
tree4dd412e9f6a578c879e539c5a96877f662358b64 /source3/nsswitch/winbindd_cache.c
parentc115570b857cff15c929cf80ad3c8f32272818d5 (diff)
downloadsamba-300acb99ad9fcd4a36998d4ee4d8349478deca59.tar.gz
samba-300acb99ad9fcd4a36998d4ee4d8349478deca59.tar.bz2
samba-300acb99ad9fcd4a36998d4ee4d8349478deca59.zip
r16284: Start fixing up gcc4 -O6 warnings on an x86_64 box. size_t != unsigned
int in a format string. Jeremy. (This used to be commit face01ef01e1a3c96eae17c56cadf01020d4cb46)
Diffstat (limited to 'source3/nsswitch/winbindd_cache.c')
-rw-r--r--source3/nsswitch/winbindd_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index 86846f7835..ba69d41392 100644
--- a/source3/nsswitch/winbindd_cache.c
+++ b/source3/nsswitch/winbindd_cache.c
@@ -229,8 +229,8 @@ static time_t centry_time(struct cache_entry *centry)
{
time_t ret;
if (centry->len - centry->ofs < sizeof(time_t)) {
- DEBUG(0,("centry corruption? needed %d bytes, have %d\n",
- sizeof(time_t), centry->len - centry->ofs));
+ DEBUG(0,("centry corruption? needed %u bytes, have %u\n",
+ (unsigned int)sizeof(time_t), (unsigned int)(centry->len - centry->ofs)));
smb_panic("centry_time");
}
ret = IVAL(centry->data, centry->ofs); /* FIXME: correct ? */