Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index c2e9615d8ef80ac8b957a52f755e73fd89416a86..b53ddf8f1b62243fff5655c9b2fb9637792c24f4 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -1353,7 +1353,7 @@ void SourceGroup::WaitForThread() { |
void SetFlagsFromString(const char* flags) { |
- v8::V8::SetFlagsFromString(flags, strlen(flags)); |
+ v8::V8::SetFlagsFromString(flags, static_cast<int>(strlen(flags))); |
} |