diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-20 16:34:40 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-20 16:34:40 +0200 |
commit | 11a2419c356dbedea7a3a35ad200ec8cd9a4b9e1 (patch) | |
tree | d318eb4f14c442c518d798fd729e1f8273287a91 /ext/imap/php_imap.c | |
parent | 30ebf826e6cba08fed4119685a52f0b625ce9665 (diff) | |
parent | 8f6cade8640f843331b3ddef2a6b96f73c89889c (diff) | |
download | php-git-11a2419c356dbedea7a3a35ad200ec8cd9a4b9e1.tar.gz |
Merge branch 'PHP-8.0' into master
* PHP-8.0:
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 d5c75385ed..3de11c21fe 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 { |