-
Notifications
You must be signed in to change notification settings - Fork 30k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: nodejs-private/node-private#62 Reviewed-By: Rod Vagg <[email protected]>
- Loading branch information
1 parent
fd8ac56
commit 88dcc7f
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters