]> git.ipfire.org Git - thirdparty/openvpn.git/commit
otime: Fix various conversion warnings
authorFrank Lichtenheld <frank@lichtenheld.com>
Sun, 16 Nov 2025 13:57:52 +0000 (14:57 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 16 Nov 2025 17:42:26 +0000 (18:42 +0100)
commitf265486bf2175f15b834f191136820d51fd7e278
tree3bde58a428ec9b6e88aa2753fb1c7edf30dd93df
parent8487dbf1606c4c5f787dcf015228f1a05378da17
otime: Fix various conversion warnings

Generally just use better types. Use typedef
to handle the Win32 situation where tv_sec
is long which is smaller than time_t (which
is long long).

Change-Id: Ie22f4902162b7004542f030c734b968de71e0e9e
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1274
Message-Id: <20251116135757.15805-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34462.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/otime.c
src/openvpn/otime.h