Skip to content

Commit 4461c72

Browse files
committed
src: fix compiler warning in src/heap_utils.cc
Fixes: nodejs#43577 Signed-off-by: Darshan Sen <[email protected]>
1 parent 71071f8 commit 4461c72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/heap_utils.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class FileOutputStream : public v8::OutputStream {
245245
status_ = num_bytes_written;
246246
return kAbort;
247247
}
248-
DCHECK_LE(num_bytes_written, buf.len);
248+
DCHECK_LE(static_cast<size_t>(num_bytes_written), buf.len);
249249
offset += num_bytes_written;
250250
}
251251
DCHECK_EQ(offset, size);

0 commit comments

Comments
 (0)