mbox series

[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 | expand

Message

Antonio Quartulli May 1, 2021, 3:06 a.m. UTC
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(-)