mirror of
https://github.com/php/php-src.git
synced 2025-01-10 13:03:54 +08:00
MFB: fixed compiler warning
This commit is contained in:
parent
1ba7a6812c
commit
c270a8e627
@ -1961,7 +1961,7 @@ static php_stream_filter *consumed_filter_create(const char *filtername, zval *f
|
||||
/* Create this filter */
|
||||
data = pecalloc(1, sizeof(php_consumed_filter_data), persistent);
|
||||
if (!data) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed allocating %d bytes.", sizeof(php_consumed_filter_data));
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed allocating %ld bytes.", sizeof(php_consumed_filter_data));
|
||||
return NULL;
|
||||
}
|
||||
data->persistent = persistent;
|
||||
|
Loading…
Reference in New Issue
Block a user