From: Michael Wallner Date: Sat, 21 May 2011 15:41:48 +0000 (+0000) Subject: * use the separator where applicable X-Git-Tag: DEV_2-before-client~118 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=06b1391fadd8ae765cdc70d519afc832e63b6f64;p=m6w6%2Fext-http * use the separator where applicable * ditch warning --- 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);