From 4f508003a949fa7d046c06ab8c84d67961a08c20 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Mon, 8 Feb 2021 23:11:37 +0100 Subject: Avoid C4090 level 1 warning This breaks the build for PHP 8 by default. --- win32/sendmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') diff --git a/win32/sendmail.c b/win32/sendmail.c index 0e38d7092f..78409b53a8 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -526,7 +526,7 @@ static int SendText(char *RPath, char *Subject, char *mailTo, char *mailCc, 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) { -- cgit v1.2.1