]> git.ipfire.org Git - thirdparty/openvpn.git/commit
test_options_parse: Do not use uintmax_t instead of LargestIntegralType
authorFrank Lichtenheld <frank@lichtenheld.com>
Wed, 8 Oct 2025 13:33:31 +0000 (15:33 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 8 Oct 2025 13:38:43 +0000 (15:38 +0200)
commit5b8e0563f950aa5d246f32785afffd8824d9f9ab
tree86e50af29eff41900787a99d7cc99d5fb82a252d
parentcdbb3e4339f315b610cca95546c231c94363a4c9
test_options_parse: Do not use uintmax_t instead of LargestIntegralType

At least on OpenBSD it seems that uintmax_t maps
to unsigned long long always, but LargestIntegralType
is unsigned long. So if we have a version of cmocka.h
that defines LargestIntegralType then respect that.

Change-Id: I59a49696acd665d43b21e5c23f24b86c15989cd6
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1256
Message-Id: <20251008133338.23652-1-gert@greenie.muc.de>
URL: https://sourceforge.net/p/openvpn/mailman/message/59243971/
Signed-off-by: Gert Doering <gert@greenie.muc.de>
tests/unit_tests/openvpn/test_options_parse.c