From 3035f98364c7865fb3873aac87b997beda931aee Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 4 Dec 2024 16:38:47 +0100 Subject: [PATCH] winbind: Fix Coverity ID 1509002 Use of 32-bit time_t MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Volker Lendecke Reviewed-by: Pavel Filipenský --- source3/winbindd/winbindd_ads.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source3/winbindd/winbindd_ads.c b/source3/winbindd/winbindd_ads.c index 7ade5718399..90f1fbf15ff 100644 --- a/source3/winbindd/winbindd_ads.c +++ b/source3/winbindd/winbindd_ads.c @@ -59,9 +59,11 @@ static void ads_cached_connection_reuse(ADS_STRUCT **adsp) expire = nt_time_to_unix(ads->auth.expire_time); - DEBUG(7, ("Current tickets expire in %d seconds (at %d, time " - "is now %d)\n", (uint32_t)expire - (uint32_t)now, - (uint32_t) expire, (uint32_t) now)); + DBG_INFO("Current tickets expire in %" PRIu64 " seconds " + "(at %" PRIu64 ", time is now %" PRIu64 ")\n", + (uint64_t)expire - (uint64_t)now, + (uint64_t)expire, + (uint64_t)now); if ( ads->config.realm && (expire > now)) { return; -- 2.47.3