diff options
author | João Valverde <j@v6e.pt> | 2021-09-17 02:40:58 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2021-09-17 02:45:50 +0100 |
commit | fea994855d6e67868b8097bf034e868132c0d8a8 (patch) | |
tree | b9a375c667cfb1015382a541e0629da2a375bc58 /wsutil/ws_getopt.c | |
parent | 3c484f278b6f4f6152f008685ee8af2ed90e8a36 (diff) |
Revert "ws_getopt: Disable MSVC warning C4244"
This reverts commit ac3a30f61bccb9a33dbaaf72f75a94dc6a31c7ce.
Clang build also has this warning enabled. Fixed in
3c484f278b6f4f6152f008685ee8af2ed90e8a36.
Diffstat (limited to 'wsutil/ws_getopt.c')
-rw-r--r-- | wsutil/ws_getopt.c | 6 |
1 files changed, 0 insertions, 6 deletions
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 <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; |