Node.js: fixing x86 warning about the signed/unsigned comparison.
This commit is contained in:
parent
f68947bc60
commit
004ab48a9e
1 changed files with 1 additions and 2 deletions
|
@ -812,8 +812,7 @@ Unit::response_write(napi_env env, napi_callback_info info)
|
||||||
/* TODO: will work only for utf8 content-type */
|
/* TODO: will work only for utf8 content-type */
|
||||||
|
|
||||||
if (req->response_buf != NULL
|
if (req->response_buf != NULL
|
||||||
&& (req->response_buf->end - req->response_buf->free)
|
&& req->response_buf->end >= req->response_buf->free + buf_len)
|
||||||
>= buf_len)
|
|
||||||
{
|
{
|
||||||
buf = req->response_buf;
|
buf = req->response_buf;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue