mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
stream_wrap: fix signed/unsigned comparison warning
This commit is contained in:
1 parent
70a75cd41e
commit
0581f5cb60
1 file changed
+1
-1
+1
-1
@@ -576,7 +576,7 @@ int StreamWrapCallbacks::DoWrite(WriteWrap* w,
|
||||
|
||||
if (!r) {
|
||||
size_t bytes = 0;
|
||||
for (int i = 0; i < count; i++)
|
||||
for (size_t i = 0; i < count; i++)
|
||||
bytes += bufs[i].len;
|
||||
if (wrap_->stream_->type == UV_TCP) {
|
||||
NODE_COUNT_NET_BYTES_SENT(bytes);
|
||||
|
||||
Reference in new issue
Block a user