Skip to content

Commit 23bb956

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Avoid C4090 level 1 warning
2 parents 98fb565 + ff8da0d commit 23bb956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win32/sendmail.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ static int SendText(char *RPath, const char *Subject, const char *mailTo, char *
527527
header we know it was the last thing. */
528528
pos2 = pos1;
529529
} else {
530-
char *pos3 = pos2;
530+
const char *pos3 = pos2;
531531
while (pos2[2] == ' ' || pos2[2] == '\t') {
532532
pos3 = strstr(pos2 + 2, "\r\n");
533533
if (pos3 != NULL) {

0 commit comments

Comments
 (0)