aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/pop3/POP3Store.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/net/pop3/POP3Store.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 '')
-rw-r--r--src/net/pop3/POP3Store.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/pop3/POP3Store.cpp b/src/net/pop3/POP3Store.cpp
index 8233cdb2..f8a8ec0a 100644
--- a/src/net/pop3/POP3Store.cpp
+++ b/src/net/pop3/POP3Store.cpp
@@ -466,10 +466,10 @@ void POP3Store::authenticateSASL()
case RESPONSE_READY:
{
byte_t* challenge = 0;
- int challengeLen = 0;
+ long challengeLen = 0;
byte_t* resp = 0;
- int respLen = 0;
+ long respLen = 0;
try
{
@@ -749,7 +749,7 @@ void POP3Store::readResponse(string& buffer, const bool multiLine,
utility::progressListener* progress)
{
bool foundTerminator = false;
- int current = 0, total = 0;
+ long current = 0, total = 0;
if (progress)
progress->start(total);
@@ -846,7 +846,7 @@ void POP3Store::readResponse(string& buffer, const bool multiLine,
void POP3Store::readResponse(utility::outputStream& os,
utility::progressListener* progress, const int predictedSize)
{
- int current = 0, total = predictedSize;
+ long current = 0, total = predictedSize;
string temp;
bool codeDone = false;