From fea994855d6e67868b8097bf034e868132c0d8a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Fri, 17 Sep 2021 02:40:58 +0100 Subject: Revert "ws_getopt: Disable MSVC warning C4244" This reverts commit ac3a30f61bccb9a33dbaaf72f75a94dc6a31c7ce. Clang build also has this warning enabled. Fixed in 3c484f278b6f4f6152f008685ee8af2ed90e8a36. --- wsutil/ws_getopt.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'wsutil/ws_getopt.c') diff --git a/wsutil/ws_getopt.c b/wsutil/ws_getopt.c index a907e7344c..27816b2675 100644 --- a/wsutil/ws_getopt.c +++ b/wsutil/ws_getopt.c @@ -34,12 +34,6 @@ #include -#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; -- cgit v1.2.3