Revision: 21845
Author:   [email protected]
Date:     Fri Jun 13 15:08:57 2014 UTC
Log:      Fix windows build (size_t vs. int) some more.

[email protected]
BUG=

Review URL: https://codereview.chromium.org/336803002
http://code.google.com/p/v8/source/detail?r=21845

Modified:
 /branches/bleeding_edge/src/ast-value-factory.cc

=======================================
--- /branches/bleeding_edge/src/ast-value-factory.cc Fri Jun 13 13:31:56 2014 UTC +++ /branches/bleeding_edge/src/ast-value-factory.cc Fri Jun 13 15:08:57 2014 UTC
@@ -77,7 +77,7 @@


 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.

Reply via email to