summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2021-02-08 23:12:49 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2021-02-08 23:12:49 +0100
commitff8da0dcff2eb867a4de9e45ecb400d4abbf1f8e (patch)
treec64d234eab553338086973aaa16e371dc428e935 /win32
parent92f71d9d42e620c3a08219728a2bfe1abb85a214 (diff)
parent4f508003a949fa7d046c06ab8c84d67961a08c20 (diff)
downloadphp-git-ff8da0dcff2eb867a4de9e45ecb400d4abbf1f8e.tar.gz
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: Avoid C4090 level 1 warning
Diffstat (limited to 'win32')
-rw-r--r--win32/sendmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c
index da5bddde37..a3d4eac353 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) {