diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-03-18 16:56:14 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-03-18 16:56:14 -0400 |
commit | 7fb6b3df74abd52d67da1f58c36c4863922abb7e (patch) | |
tree | 5b9b9f8725a522ef9db9edc7047ca05877d60187 /validat1.cpp | |
parent | 71afcadadbae515484fa0e021291ae67a1684dfc (diff) | |
download | cryptopp-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.cpp | 2 |
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
|