aboutsummaryrefslogtreecommitdiffstats
path: root/src/attachmentHelper.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/attachmentHelper.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/attachmentHelper.cpp')
-rw-r--r--src/attachmentHelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/attachmentHelper.cpp b/src/attachmentHelper.cpp
index 01746813..68c003f9 100644
--- a/src/attachmentHelper.cpp
+++ b/src/attachmentHelper.cpp
@@ -183,7 +183,7 @@ const std::vector <ref <const attachment> >
{
ref <const body> bdy = part->getBody();
- for (int i = 0 ; i < bdy->getPartCount() ; ++i)
+ for (size_t i = 0 ; i < bdy->getPartCount() ; ++i)
{
std::vector <ref <const attachment> > partAtts =
findAttachmentsInBodyPart(bdy->getPartAt(i), options);
@@ -295,7 +295,7 @@ ref <bodyPart> attachmentHelper::findBodyPart
// Try in sub-parts
ref <body> bdy = part->getBody();
- for (int i = 0 ; i < bdy->getPartCount() ; ++i)
+ for (size_t i = 0 ; i < bdy->getPartCount() ; ++i)
{
ref <bodyPart> found =
findBodyPart(bdy->getPartAt(i), type);