X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_functions.c;h=7b58cf7fb502696965b65a322a2fa9d77816641f;hp=f7f73f75afd5b957368ee8951a6df83e96c1f386;hb=bcd8a695c6dfc8463596cf97d886e32eec959417;hpb=9dcd0b4d4522d161c1c94563f7074d9f4afcb38b diff --git a/http_functions.c b/http_functions.c index f7f73f7..7b58cf7 100644 --- a/http_functions.c +++ b/http_functions.c @@ -256,7 +256,7 @@ PHP_FUNCTION(http_negotiate_content_type) Send HTTP status code. */ PHP_FUNCTION(http_send_status) { - int status = 0; + long status = 0; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &status) != SUCCESS) { RETURN_FALSE;