From: Nuno Lopes Date: Mon, 4 Sep 2006 19:16:21 +0000 (+0000) Subject: MFB: fix gcc warning X-Git-Tag: RELEASE_1_0_0RC1~1777 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e09ffb06f1a6bcf38b4b71427c6f02283e022840;p=php MFB: fix gcc warning --- diff --git a/ext/standard/filters.c b/ext/standard/filters.c index ea58547f8d..6ba6537e21 100644 --- a/ext/standard/filters.c +++ b/ext/standard/filters.c @@ -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 %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;