diff options
author | weidai <weidai11@users.noreply.github.com> | 2006-03-13 13:26:41 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2006-03-13 13:26:41 +0000 |
commit | 922fdeb1508e89b25d684378a269e319c927d91d (patch) | |
tree | f30468f446dfdde7bc27bc6c82de67f227721b05 /zdeflate.cpp | |
parent | 80a9a45ad09512f6d2dd4f806ff774d79fcda5df (diff) | |
download | cryptopp-git-922fdeb1508e89b25d684378a269e319c927d91d.tar.gz |
fix MSVC 2005 warnings
Diffstat (limited to 'zdeflate.cpp')
-rw-r--r-- | zdeflate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zdeflate.cpp b/zdeflate.cpp index 2c6fd887..b83243cd 100644 --- a/zdeflate.cpp +++ b/zdeflate.cpp @@ -383,7 +383,7 @@ unsigned int Deflator::LongestMatch(unsigned int &bestMatch) const if (scan[bestLength-1] == match[bestLength-1] && scan[bestLength] == match[bestLength] && scan[0] == match[0] && scan[1] == match[1]) { assert(scan[2] == match[2]); - unsigned int len = (unsigned int)(std::mismatch(scan+3, scanEnd, match+3).first - scan); + unsigned int len = (unsigned int)(stdext::unchecked_mismatch(scan+3, scanEnd, match+3).first - scan); assert(len != bestLength); if (len > bestLength) { |