From 2f6788104ffbc501a563344f65a1b6fba8e91bc5 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 29 Jan 2011 14:10:05 +0100 Subject: [PATCH] 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 --- src/types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types.h b/src/types.h index 70b1b813..76ef4cdb 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; -- 2.39.2