Skip to content

Commit 0b432b9

Browse files
RaisinTentargos
authored andcommitted
src: fix compiler warning in src/heap_utils.cc
Fixes: #43577 Signed-off-by: Darshan Sen <[email protected]> PR-URL: #43579 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 66fb059 commit 0b432b9

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)