stream_wrap: fix signedness compiler warnings

pull/24503/head
Ben Noordhuis 2012-03-30 14:52:24 +02:00
parent 7abbda8ba2
commit 0f0557d78d
1 changed files with 1 additions and 1 deletions

View File

@ -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);