diff options
| author | Vincent Richard <[email protected]> | 2012-12-12 15:35:55 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2012-12-12 15:35:55 +0000 |
| commit | 3a5621c2aa3931be608508d4fadc42c2a09cb251 (patch) | |
| tree | a39a344cbacdc9524122536ecbf8866e225e8230 /src/messageBuilder.cpp | |
| parent | Do not re-encode data if it is already encoded (thanks to Mehmet Bozkurt). (diff) | |
| download | vmime-3a5621c2aa3931be608508d4fadc42c2a09cb251.tar.gz vmime-3a5621c2aa3931be608508d4fadc42c2a09cb251.zip | |
Trivial 64-bit warning fixes.
Diffstat (limited to 'src/messageBuilder.cpp')
| -rw-r--r-- | src/messageBuilder.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/messageBuilder.cpp b/src/messageBuilder.cpp index 3597b3ae..8b8af883 100644 --- a/src/messageBuilder.cpp +++ b/src/messageBuilder.cpp @@ -280,25 +280,25 @@ void messageBuilder::setSubject(const text& subject) } -void messageBuilder::removeAttachment(const int pos) +void messageBuilder::removeAttachment(const size_t pos) { m_attach.erase(m_attach.begin() + pos); } -const ref <const attachment> messageBuilder::getAttachmentAt(const int pos) const +const ref <const attachment> messageBuilder::getAttachmentAt(const size_t pos) const { return (m_attach[pos]); } -ref <attachment> messageBuilder::getAttachmentAt(const int pos) +ref <attachment> messageBuilder::getAttachmentAt(const size_t pos) { return (m_attach[pos]); } -int messageBuilder::getAttachmentCount() const +size_t messageBuilder::getAttachmentCount() const { return (m_attach.size()); } |
