]> granicus.if.org Git - php/commitdiff
MFB: fixed compiler warning
authorIlia Alshanetsky <iliaa@php.net>
Thu, 1 Jun 2006 22:42:53 +0000 (22:42 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 1 Jun 2006 22:42:53 +0000 (22:42 +0000)
ext/standard/filters.c

index a42c48fc4f99798fa992080f2069e5a0719f00a5..ea58547f8d6edf3632aa6b361d12f41136568874 100644 (file)
@@ -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;