One learns something new about C every day :-) - had to look up what
an "intptr_t" is ("it's an integer type big enough to hold any pointer
type"), so that's the correct thing for pointer differences as well
(even though it's not really relevant *here*, as we're not talking
about ">4 Gbyte difference, in a 32/64 bit addressing model").
Anyway. Patch makes sense. BBs are happy. Not tested beyond a build
test on ubuntu/mingw.
Your patch has been applied to the master branch.
commit d446715c537764076ea8d61233bf37d3bafa7624
Author: Frank Lichtenheld
Date: Mon Oct 6 23:01:21 2025 +0200
dhcp: Fix conversion warnings
Signed-off-by: Frank Lichtenheld <[email protected]>
Acked-by: Gert Doering <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1241
Message-Id: <[email protected]>
URL: https://sourceforge.net/p/openvpn/mailman/message/59243110/
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel