From: Nuno Lopes Date: Mon, 4 Sep 2006 19:14:59 +0000 (+0000) Subject: fix gcc warning X-Git-Tag: php-5.2.0RC4~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=731b68fbc5821ca8c185104a0e4f5bac60fd89a9;p=php fix gcc warning --- diff --git a/ext/standard/filters.c b/ext/standard/filters.c index f2c6760a52..cfcee3db11 100644 --- a/ext/standard/filters.c +++ b/ext/standard/filters.c @@ -1880,7 +1880,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 %ld bytes.", sizeof(php_consumed_filter_data)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed allocating %zd bytes.", sizeof(php_consumed_filter_data)); return NULL; } data->persistent = persistent;