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/messaging/IMAPUtils.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/messaging/IMAPUtils.cpp')
-rw-r--r-- | src/messaging/IMAPUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messaging/IMAPUtils.cpp b/src/messaging/IMAPUtils.cpp index ef25c103..b56b33f7 100644 --- a/src/messaging/IMAPUtils.cpp +++ b/src/messaging/IMAPUtils.cpp @@ -152,7 +152,7 @@ const string IMAPUtils::toModifiedUTF7 const char base64alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+,="; - const unsigned int hs = (unsigned int)(unsigned char) hierarchySeparator; + const unsigned int hs = static_cast <unsigned int>(static_cast <unsigned char>(hierarchySeparator)); string hsUTF7; hsUTF7.resize(3); |