summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--hash/xxhash.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/hash/xxhash.cpp b/hash/xxhash.cpp
index 157232b9..59691baf 100644
--- a/hash/xxhash.cpp
+++ b/hash/xxhash.cpp
@@ -6,6 +6,8 @@
#ifdef __clang__
#pragma GCC diagnostic ignored "-Wdisabled-macro-expansion"
#pragma GCC diagnostic ignored "-Wused-but-marked-unused"
+#elif defined _MSC_VER
+#pragma warning(disable: 4310)
#endif
#include "xxhash.inl"