aboutsummaryrefslogtreecommitdiffstats
path: root/examples/example5.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2016-03-23 19:05:59 +0000
committerVincent Richard <[email protected]>2016-03-23 19:05:59 +0000
commit4b62ae41746e82d5a1638dac5ad0c19ae8c5cd39 (patch)
treee40ba4c8394e7fc5ced7190f2feb5eb89ed548b9 /examples/example5.cpp
parentFixed #135: getPeerAddress() is incorrect. Error handling. (diff)
downloadvmime-4b62ae41746e82d5a1638dac5ad0c19ae8c5cd39.tar.gz
vmime-4b62ae41746e82d5a1638dac5ad0c19ae8c5cd39.zip
Issue #126: fixed warnings about sign mismatch.
Diffstat (limited to 'examples/example5.cpp')
-rw-r--r--examples/example5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example5.cpp b/examples/example5.cpp
index 849ffa75..d33c64f7 100644
--- a/examples/example5.cpp
+++ b/examples/example5.cpp
@@ -59,7 +59,7 @@ int main()
vmime::messageParser mp("<...MIME message content...>");
// Enumerate attachments
- for (int i = 0 ; i < mp.getAttachmentCount() ; ++i)
+ for (size_t i = 0 ; i < mp.getAttachmentCount() ; ++i)
{
const vmime::attachment& att = *mp.getAttachmentAt(i);