Skip to content

Commit 4f50800

Browse files
committedFeb 8, 2021
Avoid C4090 level 1 warning
This breaks the build for PHP 8 by default.
1 parent 03713ac commit 4f50800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎win32/sendmail.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ static int SendText(char *RPath, char *Subject, char *mailTo, char *mailCc, char
526526
header we know it was the last thing. */
527527
pos2 = pos1;
528528
} else {
529-
char *pos3 = pos2;
529+
const char *pos3 = pos2;
530530
while (pos2[2] == ' ' || pos2[2] == '\t') {
531531
pos3 = strstr(pos2 + 2, "\r\n");
532532
if (pos3 != NULL) {

0 commit comments

Comments
 (0)
Failed to load comments.