aboutsummaryrefslogtreecommitdiffstats
path: root/tests/parser/messageTest.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-12-10 07:52:51 +0000
committerVincent Richard <[email protected]>2013-12-10 07:52:51 +0000
commit7e265b05f440ed81b80f2de496c9d13221a69fe0 (patch)
treed4dad210715ea9d60b2136bd416647d4bc02166a /tests/parser/messageTest.cpp
parentEnforce strict aliasing rule and avoid alignment issues. (diff)
downloadvmime-7e265b05f440ed81b80f2de496c9d13221a69fe0.tar.gz
vmime-7e265b05f440ed81b80f2de496c9d13221a69fe0.zip
Simplified types for better readability. Use appropriate types (size_t, byte_t...). Minor warning fixes.
Diffstat (limited to 'tests/parser/messageTest.cpp')
-rw-r--r--tests/parser/messageTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/parser/messageTest.cpp b/tests/parser/messageTest.cpp
index a7a16813..3891b47e 100644
--- a/tests/parser/messageTest.cpp
+++ b/tests/parser/messageTest.cpp
@@ -44,8 +44,8 @@ VMIME_TEST_SUITE_BEGIN(messageTest)
textPart.generateIn(msg, msg);
// Estimated/computed generated size must be greater than the actual generated size
- const unsigned long genSize = msg->getGeneratedSize(ctx);
- const unsigned long actualSize = msg->generate().length();
+ const vmime::size_t genSize = msg->getGeneratedSize(ctx);
+ const vmime::size_t actualSize = msg->generate().length();
std::ostringstream oss;
oss << "estimated size (" << genSize << ") >= actual size (" << actualSize << ")";