diff --git a/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp b/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp index 6a64f092ef2..74cd8f97cbb 100644 --- a/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp +++ b/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp @@ -482,7 +482,7 @@ nsFtpState::OnDataAvailable(nsIRequest *request, const char* currLine = lines.get(); while (*currLine) { - char* eol = strstr(currLine, CRLF); + const char* eol = strstr(currLine, CRLF); if (!eol) { mControlReadCarryOverBuf.Assign(currLine); break;