diff options
| author | Vincent Richard <[email protected]> | 2013-12-10 07:52:51 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2013-12-10 07:52:51 +0000 |
| commit | 7e265b05f440ed81b80f2de496c9d13221a69fe0 (patch) | |
| tree | d4dad210715ea9d60b2136bd416647d4bc02166a /src/messageIdSequence.cpp | |
| parent | Enforce strict aliasing rule and avoid alignment issues. (diff) | |
| download | vmime-7e265b05f440ed81b80f2de496c9d13221a69fe0.tar.gz vmime-7e265b05f440ed81b80f2de496c9d13221a69fe0.zip | |
Simplified types for better readability. Use appropriate types (size_t, byte_t...). Minor warning fixes.
Diffstat (limited to 'src/messageIdSequence.cpp')
| -rw-r--r-- | src/messageIdSequence.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/messageIdSequence.cpp b/src/messageIdSequence.cpp index bfd0c30f..23b12773 100644 --- a/src/messageIdSequence.cpp +++ b/src/messageIdSequence.cpp @@ -85,12 +85,12 @@ const std::vector <shared_ptr <component> > messageIdSequence::getChildComponent void messageIdSequence::parseImpl - (const parsingContext& ctx, const string& buffer, const string::size_type position, - const string::size_type end, string::size_type* newPosition) + (const parsingContext& ctx, const string& buffer, const size_t position, + const size_t end, size_t* newPosition) { removeAllMessageIds(); - string::size_type pos = position; + size_t pos = position; while (pos < end) { @@ -109,9 +109,9 @@ void messageIdSequence::parseImpl void messageIdSequence::generateImpl (const generationContext& ctx, utility::outputStream& os, - const string::size_type curLinePos, string::size_type* newLinePos) const + const size_t curLinePos, size_t* newLinePos) const { - string::size_type pos = curLinePos; + size_t pos = curLinePos; if (!m_list.empty()) { |
