summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2021-02-08 23:11:37 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2021-02-08 23:11:37 +0100
commit4f508003a949fa7d046c06ab8c84d67961a08c20 (patch)
tree8e83ee07fbd22805c621d50f42762cf1b253e8a5 /win32
parent03713ace23e7c8fa6b7d31684de8740a77e42895 (diff)
downloadphp-git-4f508003a949fa7d046c06ab8c84d67961a08c20.tar.gz
Avoid C4090 level 1 warning
This breaks the build for PHP 8 by default.
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 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) {