Commit 88dcc7f5 authored by Ben Noordhuis's avatar Ben Noordhuis Committed by Rod Vagg
Browse files

v8: fix -Wsign-compare warning in Zone::New()

Use unsigned types for size calculations.  Fixes a warning that was
drowning out everything else because zone-inl.h is included in every
source file:

		../deps/v8/src/zone-inl.h: In member function 'void* v8::internal::Zone::New(int)':
		../deps/v8/src/zone-inl.h:61:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
			 if (limit < position || size > limit - position) {

PR-URL: https://github.com/nodejs/node-private/pull/62


Reviewed-By: default avatarRod Vagg <rod@vagg.org>
parent fd8ac56c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment