mirror of
https://github.com/samba-team/samba.git
synced 2025-02-11 17:58:16 +03:00
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! BUG: https://bugzilla.samba.org/show_bug.cgi?id=13848 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> (cherry picked from commit 5822449a7340f53987ce4c04851652427f5b49e8)