diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-20 16:33:56 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-20 16:33:56 +0200 |
commit | 8f6cade8640f843331b3ddef2a6b96f73c89889c (patch) | |
tree | f2548a9fe14de7fa35f213bf3e49d4855856af23 /ext/imap/php_imap.c | |
parent | 1c157d3fa2e102ccf375ec4c1ddca8770208dae7 (diff) | |
parent | a54f0f76801776d54df2eb28faabe6a6d51bd295 (diff) | |
download | php-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.c | 2 |
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 { |