1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

libsmb: Fix Coverity ID 1509012 Use of 32-bit time_t

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Volker Lendecke 2024-11-21 18:14:37 +01:00 committed by Martin Schwenke
parent 177c35604b
commit 3001df6989

View File

@ -149,8 +149,10 @@ bool saf_store( const char *domain, const char *servername )
} }
expire = time( NULL ) + lp_parm_int(-1, "saf","ttl", SAF_TTL); expire = time( NULL ) + lp_parm_int(-1, "saf","ttl", SAF_TTL);
DEBUG(10,("saf_store: domain = [%s], server = [%s], expire = [%u]\n", DBG_DEBUG("domain = [%s], server = [%s], expire = [%" PRIu64 "]\n",
domain, servername, (unsigned int)expire )); domain,
servername,
(uint64_t)expire);
ret = gencache_set( key, servername, expire ); ret = gencache_set( key, servername, expire );