From 600fa4d107a4179f60bd565a04639f3d01327240 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 19 Jan 2018 20:09:02 -0500 Subject: Clear unary minus on unsigned warning under MSVC --- tweetnacl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tweetnacl.cpp') diff --git a/tweetnacl.cpp b/tweetnacl.cpp index 9114ef8c..d5906bc1 100644 --- a/tweetnacl.cpp +++ b/tweetnacl.cpp @@ -12,7 +12,7 @@ // Don't destroy const time properties when squashing warnings. #if CRYPTOPP_MSC_VERSION -# pragma warning(disable: 4242 4244 4245) +# pragma warning(disable: 4146 4242 4244 4245) #endif #ifndef CRYPTOPP_DISABLE_NACL @@ -895,3 +895,5 @@ NAMESPACE_END // CryptoPP NAMESPACE_END // NaCl #endif // NO_OS_DEPENDENCE + + -- cgit v1.2.1