summaryrefslogtreecommitdiff
path: root/padlkrng.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-01-21 16:25:49 -0500
committerJeffrey Walton <noloader@gmail.com>2018-01-21 16:25:49 -0500
commit1df1d25428181e8f3fd688da011ac4bfc0325899 (patch)
treeab1bab6ae0028a829bf487a129307bc77c2aa9bb /padlkrng.cpp
parentd6cf3b5020fe9c682ddf6b335e77403111a54c9b (diff)
downloadcryptopp-git-1df1d25428181e8f3fd688da011ac4bfc0325899.tar.gz
Cleanup warnings under MSC
Diffstat (limited to 'padlkrng.cpp')
-rw-r--r--padlkrng.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/padlkrng.cpp b/padlkrng.cpp
index 88384037..e65b900d 100644
--- a/padlkrng.cpp
+++ b/padlkrng.cpp
@@ -11,6 +11,10 @@
// find copies of the Programmer's manual, Cryptography Research Inc audit
// report, and other goodies at http://www.cryptopp.com/wiki/VIA_Padlock.
+#if CRYPTOPP_MSC_VERSION
+# pragma warning(disable: 4702)
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
PadlockRNG::PadlockRNG(word32 divisor)