mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 09:13:08 +00:00
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 <mcostalba@gmail.com>
This commit is contained in:
parent
69726f4df3
commit
2f6788104f
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
||||||
// Disable some silly and noisy warning from MSVC compiler
|
// Disable some silly and noisy warning from MSVC compiler
|
||||||
#pragma warning(disable: 4800) // Forcing value to bool 'true' or 'false'
|
#pragma warning(disable: 4800) // Forcing value to bool 'true' or 'false'
|
||||||
#pragma warning(disable: 4127) // Conditional expression is constant
|
#pragma warning(disable: 4127) // Conditional expression is constant
|
||||||
|
#pragma warning(disable: 4146) // Unary minus operator applied to unsigned type
|
||||||
|
|
||||||
// MSVC does not support <inttypes.h>
|
// MSVC does not support <inttypes.h>
|
||||||
typedef signed __int8 int8_t;
|
typedef signed __int8 int8_t;
|
||||||
|
|
Loading…
Add table
Reference in a new issue