aboutsummaryrefslogtreecommitdiffstats
path: root/src/security/sasl/SASLContext.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2012-11-29 21:33:04 +0000
committerVincent Richard <[email protected]>2012-11-29 21:33:31 +0000
commit71f06fab915f20d10b4b97d6c927087228b51f6e (patch)
tree399177abb33447877be7e80c545c9f16ada1e078 /src/security/sasl/SASLContext.cpp
parentBetter handling of SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE. Sockets on Windo... (diff)
downloadvmime-71f06fab915f20d10b4b97d6c927087228b51f6e.tar.gz
vmime-71f06fab915f20d10b4b97d6c927087228b51f6e.zip
Trivial 64-bit warning fixes.
Diffstat (limited to 'src/security/sasl/SASLContext.cpp')
-rw-r--r--src/security/sasl/SASLContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/security/sasl/SASLContext.cpp b/src/security/sasl/SASLContext.cpp
index 8c623124..bf601b35 100644
--- a/src/security/sasl/SASLContext.cpp
+++ b/src/security/sasl/SASLContext.cpp
@@ -106,7 +106,7 @@ ref <SASLMechanism> SASLContext::suggestMechanism
}
-void SASLContext::decodeB64(const string& input, byte_t** output, int* outputLen)
+void SASLContext::decodeB64(const string& input, byte_t** output, long* outputLen)
{
string res;
@@ -127,7 +127,7 @@ void SASLContext::decodeB64(const string& input, byte_t** output, int* outputLen
}
-const string SASLContext::encodeB64(const byte_t* input, const int inputLen)
+const string SASLContext::encodeB64(const byte_t* input, const long inputLen)
{
string res;