Skip to content

Commit 8f6cade

Browse files
committed
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: Add char* cast to avoid compiler warnings
2 parents 1c157d3 + a54f0f7 commit 8f6cade

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)