diff options
author | Vincent Richard <[email protected]> | 2012-11-29 21:33:04 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2012-11-29 21:33:31 +0000 |
commit | 71f06fab915f20d10b4b97d6c927087228b51f6e (patch) | |
tree | 399177abb33447877be7e80c545c9f16ada1e078 /src/utility/encoder/qpEncoder.cpp | |
parent | Better handling of SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE. Sockets on Windo... (diff) | |
download | vmime-71f06fab915f20d10b4b97d6c927087228b51f6e.tar.gz vmime-71f06fab915f20d10b4b97d6c927087228b51f6e.zip |
Trivial 64-bit warning fixes.
Diffstat (limited to 'src/utility/encoder/qpEncoder.cpp')
-rw-r--r-- | src/utility/encoder/qpEncoder.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utility/encoder/qpEncoder.cpp b/src/utility/encoder/qpEncoder.cpp index ab8db2e4..9e1c1ccd 100644 --- a/src/utility/encoder/qpEncoder.cpp +++ b/src/utility/encoder/qpEncoder.cpp @@ -178,8 +178,8 @@ utility::stream::size_type qpEncoder::encode(utility::inputStream& in, // Process the data char buffer[16384]; - int bufferLength = 0; - int bufferPos = 0; + utility::stream::size_type bufferLength = 0; + utility::stream::size_type bufferPos = 0; string::size_type curCol = 0; @@ -380,8 +380,8 @@ utility::stream::size_type qpEncoder::decode(utility::inputStream& in, const bool rfc2047 = getProperties().getProperty <bool>("rfc2047", false); char buffer[16384]; - int bufferLength = 0; - int bufferPos = 0; + utility::stream::size_type bufferLength = 0; + utility::stream::size_type bufferPos = 0; unsigned char outBuffer[16384]; int outBufferPos = 0; |