From 06b1391fadd8ae765cdc70d519afc832e63b6f64 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Sat, 21 May 2011 15:41:48 +0000 Subject: [PATCH] * use the separator where applicable * ditch warning --- php_http_filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php_http_filter.c b/php_http_filter.c index 5303f06..1a57399 100644 --- a/php_http_filter.c +++ b/php_http_filter.c @@ -235,7 +235,7 @@ static PHP_HTTP_FILTER_FUNCTION(chunked_encode) *bytes_consumed += ptr->buflen; } - php_http_buffer_appendf(&buf, "%lx" PHP_HTTP_CRLF, ptr->buflen); + php_http_buffer_appendf(&buf, "%lx" PHP_HTTP_CRLF, (long unsigned int) ptr->buflen); php_http_buffer_append(&buf, ptr->buf, ptr->buflen); php_http_buffer_appends(&buf, PHP_HTTP_CRLF); @@ -405,7 +405,7 @@ static php_stream_filter *http_filter_create(const char *name, zval *params, int } default: { - zval *num = php_http_zsep(IS_LONG, *tmp); + zval *num = php_http_ztyp(IS_LONG, *tmp); flags |= (Z_LVAL_P(num) & 0x0fffffff); zval_ptr_dtor(&num); -- 2.30.2