summaryrefslogtreecommitdiff
path: root/crc_simd.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2023-04-14 14:19:20 -0400
committerJeffrey Walton <noloader@gmail.com>2023-04-14 14:19:20 -0400
commit358d0cfecd593d55160df38e133b9450aaf1cd59 (patch)
tree1c3a04581050976c81e36e72ef18ecf99a8a361e /crc_simd.cpp
parente1c149f9a4351fc4ddf2e9c2226e3e7e0ed14cf3 (diff)
downloadcryptopp-git-358d0cfecd593d55160df38e133b9450aaf1cd59.tar.gz
Clear truncation warning on MSVC (GH #1202)
Diffstat (limited to 'crc_simd.cpp')
-rw-r--r--crc_simd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/crc_simd.cpp b/crc_simd.cpp
index 03409ee6..d7792634 100644
--- a/crc_simd.cpp
+++ b/crc_simd.cpp
@@ -28,6 +28,10 @@
# include <setjmp.h>
#endif
+#if CRYPTOPP_MSC_VERSION
+# pragma warning(disable: 4244)
+#endif
+
#ifndef EXCEPTION_EXECUTE_HANDLER
# define EXCEPTION_EXECUTE_HANDLER 1
#endif