summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2021-02-08 23:13:19 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2021-02-08 23:13:19 +0100
commit23bb95639f949a46f15919e4943f35a2a7d8bb39 (patch)
treed1882302933669dc4d94e7d3da70bae8c821beac /win32
parent98fb565c7448cd455b8d24df5f6be8fcf9330fd7 (diff)
parentff8da0dcff2eb867a4de9e45ecb400d4abbf1f8e (diff)
downloadphp-git-23bb95639f949a46f15919e4943f35a2a7d8bb39.tar.gz
Merge branch 'PHP-8.0'
* PHP-8.0: 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) {