[Openvpn-devel,0/3] windows: kill a couple of warnings

Message ID 20210501130640.9330-1-a@unstable.cc
Headers show
Series
  • windows: kill a couple of warnings
Related show

Message

Antonio Quartulli May 1, 2021, 1:06 p.m.
When compiling with mingw32-w64 we still get a bunch of warnings.
Some are easily fixable and therefore I thought about providing small
patches addressing those.

Remaining warnings are not "difficult" to fix, but rather not easy to be
fixed cleanly while keeping the change compact. 

Note: I haven't compiled this with MSVC.

Cheers,

Antonio Quartulli (3):
  windows: use appropriate and portable format specifier for 64bit
    pointer
  windows: define variable only where used
  windows: list all enum values in switch block

 src/openvpn/common.h          | 2 +-
 src/openvpn/run_command.c     | 2 +-
 src/openvpnserv/interactive.c | 3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)