From 7e265b05f440ed81b80f2de496c9d13221a69fe0 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 10 Dec 2013 08:52:51 +0100 Subject: Simplified types for better readability. Use appropriate types (size_t, byte_t...). Minor warning fixes. --- src/security/sasl/SASLContext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/security/sasl/SASLContext.cpp') diff --git a/src/security/sasl/SASLContext.cpp b/src/security/sasl/SASLContext.cpp index c4d60bd9..3474cbeb 100644 --- a/src/security/sasl/SASLContext.cpp +++ b/src/security/sasl/SASLContext.cpp @@ -106,7 +106,7 @@ shared_ptr SASLContext::suggestMechanism } -void SASLContext::decodeB64(const string& input, byte_t** output, long* outputLen) +void SASLContext::decodeB64(const string& input, byte_t** output, size_t* outputLen) { string res; @@ -127,7 +127,7 @@ void SASLContext::decodeB64(const string& input, byte_t** output, long* outputLe } -const string SASLContext::encodeB64(const byte_t* input, const long inputLen) +const string SASLContext::encodeB64(const byte_t* input, const size_t inputLen) { string res; -- cgit v1.2.3