]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Make buf_write_u8/16/32 take the type they pretend to take
authorArne Schwabe <arne@rfc2549.org>
Fri, 22 Apr 2022 14:29:44 +0000 (16:29 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 25 Apr 2022 12:14:49 +0000 (14:14 +0200)
commitdc6e00e2e75eae58bf94bcf384ae2ba68c5c6bd3
treee54075aa73714e4d966522f8aada600af999623d
parent99e6b814edcdd522c97217e027bd24ed43661917
Make buf_write_u8/16/32 take the type they pretend to take

This functions should accept the type of integer they say to write. Calling
the u32 function with an integer that is actually 32 bit unsigned gives
compiler warnings.
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20220422142953.3805364-10-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24165.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/buffer.h