diff options
author | Vincent Richard <[email protected]> | 2012-07-30 09:23:23 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2012-07-30 09:23:23 +0000 |
commit | f0b1be21dc1c5a764b5fb1a91d15cd00790a8cf5 (patch) | |
tree | 756901c9b686747259469407dfe9db90fc7b7e56 | |
parent | Added functions to get messages by UID (IMAP only for now). (diff) | |
download | vmime-f0b1be21dc1c5a764b5fb1a91d15cd00790a8cf5.tar.gz vmime-f0b1be21dc1c5a764b5fb1a91d15cd00790a8cf5.zip |
Fixed compilation warning.
-rw-r--r-- | vmime/utility/parserInputStreamAdapter.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vmime/utility/parserInputStreamAdapter.hpp b/vmime/utility/parserInputStreamAdapter.hpp index c24fa449..861e75bc 100644 --- a/vmime/utility/parserInputStreamAdapter.hpp +++ b/vmime/utility/parserInputStreamAdapter.hpp @@ -82,7 +82,7 @@ public: m_stream->seek(initialPos); - return (readBytes == 1 ? buffer[0] : 0); + return (readBytes == 1 ? buffer[0] : static_cast <value_type>(0)); } catch (...) { @@ -101,7 +101,7 @@ public: value_type buffer[1]; const size_type readBytes = m_stream->read(buffer, 1); - return (readBytes == 1 ? buffer[0] : 0); + return (readBytes == 1 ? buffer[0] : static_cast <value_type>(0)); } /** Check whether the bytes following the current position match |