aboutsummaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/imap/IMAPConnection.cpp4
-rw-r--r--src/net/pop3/POP3Store.cpp8
-rw-r--r--src/net/smtp/SMTPTransport.cpp4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/net/imap/IMAPConnection.cpp b/src/net/imap/IMAPConnection.cpp
index 6c8b400e..35c3dbe5 100644
--- a/src/net/imap/IMAPConnection.cpp
+++ b/src/net/imap/IMAPConnection.cpp
@@ -381,10 +381,10 @@ void IMAPConnection::authenticateSASL()
}
byte_t* challenge = 0;
- int challengeLen = 0;
+ long challengeLen = 0;
byte_t* resp = 0;
- int respLen = 0;
+ long respLen = 0;
try
{
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;
diff --git a/src/net/smtp/SMTPTransport.cpp b/src/net/smtp/SMTPTransport.cpp
index eb29e65d..7c67fa02 100644
--- a/src/net/smtp/SMTPTransport.cpp
+++ b/src/net/smtp/SMTPTransport.cpp
@@ -381,10 +381,10 @@ void SMTPTransport::authenticateSASL()
case 334:
{
byte_t* challenge = 0;
- int challengeLen = 0;
+ long challengeLen = 0;
byte_t* resp = 0;
- int respLen = 0;
+ long respLen = 0;
try
{