mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 03:21:08 +00:00
Win32: disabled MSVC warning about '\0' not fitting into array.
We believe that this warning produces more inconvience than real benefit. Here is an example to trigger: u_char a[4] = "test";
This commit is contained in:
parent
fb6f8c4509
commit
cf64a6c536
1 changed files with 3 additions and 0 deletions
|
|
@ -70,6 +70,9 @@ typedef long time_t;
|
|||
/* FD_SET() and FD_CLR(): conditional expression is constant */
|
||||
#pragma warning(disable:4127)
|
||||
|
||||
/* array is too small to include a terminating null character */
|
||||
#pragma warning(disable:4295)
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue