aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/smtp/SMTPResponse.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/net/smtp/SMTPResponse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/smtp/SMTPResponse.cpp b/src/net/smtp/SMTPResponse.cpp
index baefc38d..f7980351 100644
--- a/src/net/smtp/SMTPResponse.cpp
+++ b/src/net/smtp/SMTPResponse.cpp
@@ -128,11 +128,11 @@ const string SMTPResponse::readResponseLine()
while (true)
{
// Get a line from the response buffer
- const string::size_type lineEnd = currentBuffer.find_first_of('\n');
+ const size_t lineEnd = currentBuffer.find_first_of('\n');
if (lineEnd != string::npos)
{
- string::size_type actualLineEnd = lineEnd;
+ size_t actualLineEnd = lineEnd;
if (actualLineEnd != 0 && currentBuffer[actualLineEnd - 1] == '\r') // CRLF case
actualLineEnd--;