summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Schatz <genius3000@g3k.solutions>2020-04-14 07:31:02 -0600
committerMatt Schatz <genius3000@g3k.solutions>2020-04-21 00:28:12 -0600
commitdff88fe6ee23d740649504145c61c9d70db433e0 (patch)
tree1863376336f220bdcad038e2d5e56863fcf9e202
parentfcc5ca0c8572f10915d5dbff1338ac17fec86775 (diff)
Disable MSVC warning C4800.
-rw-r--r--win/inspircd_win32wrapper.h3
1 files changed, 3 insertions, 0 deletions
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);