forked from osmocom/wireshark
ws_getopt: Disable MSVC warning C4244
This commit is contained in:
parent
2deb1c95d9
commit
ac3a30f61b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue