From 71f06fab915f20d10b4b97d6c927087228b51f6e Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 29 Nov 2012 22:33:04 +0100 Subject: Trivial 64-bit warning fixes. --- src/utility/encoder/qpEncoder.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/utility/encoder/qpEncoder.cpp') 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 ("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; -- cgit v1.2.3