summaryrefslogtreecommitdiff
path: root/validat1.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-03-18 16:56:14 -0400
committerJeffrey Walton <noloader@gmail.com>2017-03-18 16:56:14 -0400
commit7fb6b3df74abd52d67da1f58c36c4863922abb7e (patch)
tree5b9b9f8725a522ef9db9edc7047ca05877d60187 /validat1.cpp
parent71afcadadbae515484fa0e021291ae67a1684dfc (diff)
downloadcryptopp-git-7fb6b3df74abd52d67da1f58c36c4863922abb7e.tar.gz
Fix compile under Visual Studio 2005/MSC 14.00
Previous testing occurred with Visual Studio 2005 SP 1, and it lacks some of the Safe C++/security enhanced functions.
Diffstat (limited to 'validat1.cpp')
-rw-r--r--validat1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/validat1.cpp b/validat1.cpp
index e4e7c456..9844776e 100644
--- a/validat1.cpp
+++ b/validat1.cpp
@@ -194,7 +194,7 @@ bool TestSettings()
word32 w;
const byte s[] = "\x01\x02\x03\x04";
-#if (CRYPTOPP_MSC_VERSION >= 1400)
+#if (CRYPTOPP_MSC_VERSION >= 1410)
std::copy(s, s+4,
stdext::make_checked_array_iterator(reinterpret_cast<byte*>(&w), sizeof(w)));
#else