s3:lib: Fix the debug message for adding cache entries.
authorAndreas Schneider <asn@samba.org>
Thu, 17 Jan 2019 12:58:14 +0000 (13:58 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Sat, 19 Jan 2019 11:24:18 +0000 (12:24 +0100)
commit5822449a7340f53987ce4c04851652427f5b49e8
treeed739e65fe82d47692471b8473fe60aef257100f
parent4b26ccff859048654c0680665acee53714997980
s3:lib: Fix the debug message for adding cache entries.

To get correct values, we need to cast 'timeout' to 'long int' first in
order to do calculation in that integer space! Calculations are don in
the space of the lvalue!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/lib/gencache.c