Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

stream_wrap: fix signedness compiler warnings

  • Loading branch information...
bnoordhuis committed Mar 30, 2012
1 parent 7abbda8 commit 0f0557d78dfa3d4f92daf4558570384ce73b0953
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/stream_wrap.cc
@@ -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);

0 comments on commit 0f0557d

Please sign in to comment.
You can’t perform that action at this time.