Index: bin/gen_snapshot.cc |
=================================================================== |
--- bin/gen_snapshot.cc (revision 1632) |
+++ bin/gen_snapshot.cc (working copy) |
@@ -331,7 +331,7 @@ |
// Initialize the Dart VM (TODO(asiva) - remove const_cast once |
// dart API is fixed to take a const char** in Dart_Initialize). |
Dart_Initialize(vm_options.count(), |
- const_cast<char**>(vm_options.arguments()), |
+ vm_options.arguments(), |
SnapshotCreateCallback); |
// Create an isolate. As a side effect, SnapshotCreateCallback |