Skip to content

Commit 11a2419

Browse files
committed
Merge branch 'PHP-8.0' into master
* PHP-8.0: Add char* cast to avoid compiler warnings
2 parents 30ebf82 + 8f6cade commit 11a2419

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
@@ -3495,7 +3495,7 @@ PHP_FUNCTION(imap_mail_compose)
34953495
efree(mystring);
34963496
mystring=tempstring;
34973497
} else if (bod) {
3498-
spprintf(&tempstring, 0, "%s%s%s", mystring, bod->contents.text.data ? bod->contents.text.data : "", CRLF);
3498+
spprintf(&tempstring, 0, "%s%s%s", mystring, bod->contents.text.data ? (char *) bod->contents.text.data : "", CRLF);
34993499
efree(mystring);
35003500
mystring=tempstring;
35013501
} else {

0 commit comments

Comments
 (0)