ws_getopt: Disable MSVC warning C4244

This commit is contained in:
João Valverde 2021-09-17 00:03:26 +01:00
parent 2deb1c95d9
commit ac3a30f61b
1 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,12 @@
#include <wsutil/ws_getopt.h>
#ifdef _MSC_VER
/* disable: "warning 4244: 'conversion' conversion from 'type1' to 'type2', possible loss of data" */
#pragma warning(disable:4244)
#endif
char *ws_optarg;
int ws_optind=1, ws_opterr=1, ws_optopt, ws_optpos, ws_optreset=0;