diff options
author | Vincent Richard <[email protected]> | 2013-12-10 07:52:51 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-12-10 07:52:51 +0000 |
commit | 7e265b05f440ed81b80f2de496c9d13221a69fe0 (patch) | |
tree | d4dad210715ea9d60b2136bd416647d4bc02166a /src/security/sasl/SASLSession.cpp | |
parent | Enforce strict aliasing rule and avoid alignment issues. (diff) | |
download | vmime-7e265b05f440ed81b80f2de496c9d13221a69fe0.tar.gz vmime-7e265b05f440ed81b80f2de496c9d13221a69fe0.zip |
Simplified types for better readability. Use appropriate types (size_t, byte_t...). Minor warning fixes.
Diffstat (limited to 'src/security/sasl/SASLSession.cpp')
-rw-r--r-- | src/security/sasl/SASLSession.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/security/sasl/SASLSession.cpp b/src/security/sasl/SASLSession.cpp index 1bdd0889..087ef27b 100644 --- a/src/security/sasl/SASLSession.cpp +++ b/src/security/sasl/SASLSession.cpp @@ -99,8 +99,8 @@ shared_ptr <SASLContext> SASLSession::getContext() bool SASLSession::evaluateChallenge - (const byte_t* challenge, const long challengeLen, - byte_t** response, long* responseLen) + (const byte_t* challenge, const size_t challengeLen, + byte_t** response, size_t* responseLen) { return m_mech->step(dynamicCast <SASLSession>(shared_from_this()), challenge, challengeLen, response, responseLen); |