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

index 704b42fe6b1d3ee13c7477e1f0dd24f99f9f95cd..f2c6760a5245394b4fa1f5f750f9db7d8b281e2b 100644 (file)
@@ -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 %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;