mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
ext/bz2: removing useless casts for filter ZendMM parts. (#17887)
This commit is contained in:
parent
b1841fdfa2
commit
67a349d8f3
1 changed files with 2 additions and 2 deletions
|
@ -50,12 +50,12 @@ typedef struct _php_bz2_filter_data {
|
|||
|
||||
static void *php_bz2_alloc(void *opaque, int items, int size)
|
||||
{
|
||||
return (void *)safe_pemalloc(items, size, 0, ((php_bz2_filter_data*)opaque)->persistent);
|
||||
return safe_pemalloc(items, size, 0, ((php_bz2_filter_data*)opaque)->persistent);
|
||||
}
|
||||
|
||||
static void php_bz2_free(void *opaque, void *address)
|
||||
{
|
||||
pefree((void *)address, ((php_bz2_filter_data*)opaque)->persistent);
|
||||
pefree(address, ((php_bz2_filter_data*)opaque)->persistent);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue