event: Silence conversion warning in tv_to_ms_timeout
The APIs want int (at least on unixy systems), so we
use int. max_int() protects us against negative values.
Change-Id: Ie8a242838b6f8b42f36327c33fc62bb5f94ec43f
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: MaxF <max@max-fillinger.net>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1178
Message-Id: <
20250924145715.28701-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg33193.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>