From 4b62ae41746e82d5a1638dac5ad0c19ae8c5cd39 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 23 Mar 2016 20:05:59 +0100 Subject: Issue #126: fixed warnings about sign mismatch. --- examples/example5.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/example5.cpp') 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); -- cgit v1.2.3