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:
Valentin Bartenev 2013-03-20 10:18:26 +00:00
parent fb6f8c4509
commit cf64a6c536

View File

@ -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