diff options
author | Vincent Richard <[email protected]> | 2005-01-01 11:32:23 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-01-01 11:32:23 +0000 |
commit | fc1c6b08d191b3ee9964bf53ea95767bc54377ee (patch) | |
tree | 0e6a61589b60909b065523e5e8e1e0039f2fc93d /src/utility/stringUtils.cpp | |
parent | Fixed config file for Doxygen. (diff) | |
download | vmime-fc1c6b08d191b3ee9964bf53ea95767bc54377ee.tar.gz vmime-fc1c6b08d191b3ee9964bf53ea95767bc54377ee.zip |
Converted all C-style casts to C++-style casts + added unit test for utility::md5.
Diffstat (limited to 'src/utility/stringUtils.cpp')
-rw-r--r-- | src/utility/stringUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utility/stringUtils.cpp b/src/utility/stringUtils.cpp index 59e9bffd..eeb6f5a6 100644 --- a/src/utility/stringUtils.cpp +++ b/src/utility/stringUtils.cpp @@ -60,7 +60,7 @@ const bool stringUtils::isStringEqualNoCase (const string::const_iterator begin, const string::const_iterator end, const char* s, const string::size_type n) { - if ((string::size_type)(end - begin) < n) + if (static_cast <string::size_type>(end - begin) < n) return (false); bool equal = true; |