From dff88fe6ee23d740649504145c61c9d70db433e0 Mon Sep 17 00:00:00 2001 From: Matt Schatz Date: Tue, 14 Apr 2020 07:31:02 -0600 Subject: Disable MSVC warning C4800. --- win/inspircd_win32wrapper.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 444ff7526..7ce23f7a7 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -132,6 +132,9 @@ typedef SSIZE_T ssize_t; // warning C4706: assignment within conditional expression #pragma warning(disable:4706) +// warning C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning) +#pragma warning(disable:4800) + /* Shared memory allocation functions */ void * ::operator new(size_t iSize); void ::operator delete(void * ptr); -- cgit v1.2.3