summaryrefslogtreecommitdiff
path: root/ext/imap/php_imap.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-10-20 16:33:56 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-10-20 16:33:56 +0200
commit8f6cade8640f843331b3ddef2a6b96f73c89889c (patch)
treef2548a9fe14de7fa35f213bf3e49d4855856af23 /ext/imap/php_imap.c
parent1c157d3fa2e102ccf375ec4c1ddca8770208dae7 (diff)
parenta54f0f76801776d54df2eb28faabe6a6d51bd295 (diff)
downloadphp-git-8f6cade8640f843331b3ddef2a6b96f73c89889c.tar.gz
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: Add char* cast to avoid compiler warnings
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r--ext/imap/php_imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index 2547a3a4b8..b13ce204fb 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -3495,7 +3495,7 @@ PHP_FUNCTION(imap_mail_compose)
efree(mystring);
mystring=tempstring;
} else if (bod) {
- spprintf(&tempstring, 0, "%s%s%s", mystring, bod->contents.text.data ? bod->contents.text.data : "", CRLF);
+ spprintf(&tempstring, 0, "%s%s%s", mystring, bod->contents.text.data ? (char *) bod->contents.text.data : "", CRLF);
efree(mystring);
mystring=tempstring;
} else {