mirror of https://github.com/nodejs/node.git
stream_wrap: fix signedness compiler warnings
parent
7abbda8ba2
commit
0f0557d78d
|
@ -234,7 +234,7 @@ void StreamWrap::OnReadCommon(uv_stream_t* handle, ssize_t nread,
|
|||
return;
|
||||
}
|
||||
|
||||
assert(nread <= buf.len);
|
||||
assert(static_cast<size_t>(nread) <= buf.len);
|
||||
|
||||
if (handle_that_last_alloced == handle) {
|
||||
slab_used -= (buf.len - nread);
|
||||
|
|
Loading…
Reference in New Issue