From: Marco Costalba Date: Sat, 29 Jan 2011 13:10:05 +0000 (+0100) Subject: Silence silly MSVC warning c4146 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=2f6788104ffbc501a563344f65a1b6fba8e91bc5;p=fairystockfish.git Silence silly MSVC warning c4146 Warning C4146: unary minus operator applied to unsigned type, result still unsigned. No functional change. Signed-off-by: Marco Costalba --- diff --git a/src/types.h b/src/types.h index 70b1b81..76ef4cd 100644 --- a/src/types.h +++ b/src/types.h @@ -27,6 +27,7 @@ // Disable some silly and noisy warning from MSVC compiler #pragma warning(disable: 4800) // Forcing value to bool 'true' or 'false' #pragma warning(disable: 4127) // Conditional expression is constant +#pragma warning(disable: 4146) // Unary minus operator applied to unsigned type // MSVC does not support typedef signed __int8 int8_t;