Skip to content

Commit a54f0f7

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Add char* cast to avoid compiler warnings
2 parents 9cfd650 + de58fb3 commit a54f0f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/imap/php_imap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3955,7 +3955,7 @@ PHP_FUNCTION(imap_mail_compose)
39553955
efree(mystring);
39563956
mystring=tempstring;
39573957
} else if (bod) {
3958-
spprintf(&tempstring, 0, "%s%s%s", mystring, bod->contents.text.data ? bod->contents.text.data : "", CRLF);
3958+
spprintf(&tempstring, 0, "%s%s%s", mystring, bod->contents.text.data ? (char *) bod->contents.text.data : "", CRLF);
39593959
efree(mystring);
39603960
mystring=tempstring;
39613961
} else {

0 commit comments

Comments
 (0)