]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix a number of mingw warnings
authorArne Schwabe <arne@rfc2549.org>
Wed, 21 Apr 2021 13:43:45 +0000 (15:43 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 22 Apr 2021 14:33:23 +0000 (16:33 +0200)
commit7890e51aab91b304045a0163462f334b8e5ae8e8
tree1d402f881d86de72eb0176392edf7bbdb2449a00
parent3a16a8678ded8df8e41c495bccc4e24ef0ce82f4
Fix a number of mingw warnings

Move to definition inside the ifdef where they are used to avoid
unused warnings.

Fix a few printf related warnings when DWORD is used as paramter and
the printf format should be %lu (long unsigned int)

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20210421134348.1950392-4-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22176.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/route.c
src/openvpn/socket.c
src/openvpn/tun.c