aboutsummaryrefslogtreecommitdiffstats
path: root/src/mailbox.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2012-12-12 15:35:55 +0000
committerVincent Richard <[email protected]>2012-12-12 15:35:55 +0000
commit3a5621c2aa3931be608508d4fadc42c2a09cb251 (patch)
treea39a344cbacdc9524122536ecbf8866e225e8230 /src/mailbox.cpp
parentDo not re-encode data if it is already encoded (thanks to Mehmet Bozkurt). (diff)
downloadvmime-3a5621c2aa3931be608508d4fadc42c2a09cb251.tar.gz
vmime-3a5621c2aa3931be608508d4fadc42c2a09cb251.zip
Trivial 64-bit warning fixes.
Diffstat (limited to 'src/mailbox.cpp')
-rw-r--r--src/mailbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailbox.cpp b/src/mailbox.cpp
index dfdccad7..cdfbaf50 100644
--- a/src/mailbox.cpp
+++ b/src/mailbox.cpp
@@ -377,7 +377,7 @@ void mailbox::generateImpl(utility::outputStream& os, const string::size_type ma
// and/or contain the special chars.
bool forceEncode = false;
- for (int w = 0 ; !forceEncode && w != m_name.getWordCount() ; ++w)
+ for (size_t w = 0 ; !forceEncode && w != m_name.getWordCount() ; ++w)
{
if (m_name.getWordAt(w)->getCharset() == charset(charsets::US_ASCII))
{