summaryrefslogtreecommitdiffhomepage
path: root/src/os/win32/ngx_win32_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/win32/ngx_win32_config.h')
-rw-r--r--src/os/win32/ngx_win32_config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h
index 96156870d..406003a78 100644
--- a/src/os/win32/ngx_win32_config.h
+++ b/src/os/win32/ngx_win32_config.h
@@ -80,8 +80,6 @@ typedef long time_t;
#pragma warning(default:4201)
-/* disable some "-W4" level warnings */
-
/* 'type cast': from function pointer to data pointer */
#pragma warning(disable:4054)
@@ -106,6 +104,9 @@ typedef long time_t;
/* array is too small to include a terminating null character */
#pragma warning(disable:4295)
+/* conversion from 'type1' to 'type2' of greater size */
+#pragma warning(disable:4306)
+
#endif