diff --git a/win32/sendmail.c b/win32/sendmail.c index da5bddde377..a3d4eac3539 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -527,7 +527,7 @@ static int SendText(char *RPath, const char *Subject, const char *mailTo, char * header we know it was the last thing. */ pos2 = pos1; } else { - char *pos3 = pos2; + const char *pos3 = pos2; while (pos2[2] == ' ' || pos2[2] == '\t') { pos3 = strstr(pos2 + 2, "\r\n"); if (pos3 != NULL) {