Index: src/ast-value-factory.h |
diff --git a/src/ast-value-factory.h b/src/ast-value-factory.h |
index 8b3a7c3f18be8a69bdae63aebf44329b7c55d001..59efa58c51012a05552b0ab829997aad268cf661 100644 |
--- a/src/ast-value-factory.h |
+++ b/src/ast-value-factory.h |
@@ -233,11 +233,11 @@ class AstValueFactory { |
string_table_(AstString::Compare), |
zone_(zone), |
isolate_(NULL) { |
-#define F(name, str) { \ |
- const char* data = str; \ |
- name##_string_ = GetOneByteString( \ |
+#define F(name, str) { \ |
+ const char* data = str; \ |
+ name##_string_ = GetOneByteString( \ |
Vector<const uint8_t>(reinterpret_cast<const uint8_t*>(data), \ |
- strlen(data))); \ |
+ static_cast<int>(strlen(data)))); \ |
} |
STRING_CONSTANTS(F) |
#undef F |