Reviewers: Michael Starzinger,
Message:
Committed patchset #1 manually as r21845 (presubmit successful).
Description:
Fix windows build (size_t vs. int) some more.
[email protected]
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=21845
Please review this at https://codereview.chromium.org/336803002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -1 lines):
M src/ast-value-factory.cc
Index: src/ast-value-factory.cc
diff --git a/src/ast-value-factory.cc b/src/ast-value-factory.cc
index
a430dcd308a047ae816b7a8290dfe5ef9253308b..bdc80d14dfb278a98eb7ebf986c77beab6ae7f52
100644
--- a/src/ast-value-factory.cc
+++ b/src/ast-value-factory.cc
@@ -77,7 +77,7 @@ bool AstString::AsArrayIndex(uint32_t* index) const {
bool AstString::IsOneByteEqualTo(const char* data) const {
- int length = strlen(data);
+ int length = static_cast<int>(strlen(data));
if (is_one_byte_ && literal_bytes_.length() == length) {
const char* token = reinterpret_cast<const
char*>(literal_bytes_.start());
return !strncmp(token, data, length);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.