| Index: runtime/vm/dart_api_impl.cc
|
| diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
|
| index c562b927a7a1eade761fd12eea8b687a3f7a4d11..538029c2f76ab1829e78ff9a7d6528b001160669 100644
|
| --- a/runtime/vm/dart_api_impl.cc
|
| +++ b/runtime/vm/dart_api_impl.cc
|
| @@ -1972,7 +1972,7 @@ DART_EXPORT Dart_Handle Dart_ListSetAt(Dart_Handle list,
|
|
|
| // TODO(hpayer): value should always be smaller then 0xff. Add error handling.
|
| #define GET_LIST_ELEMENT_AS_BYTES(isolate, type, obj, native_array, offset, \
|
| - length) \
|
| + length) \
|
| const type& array = type::Cast(obj); \
|
| if (Utils::RangeCheck(offset, length, array.Length())) { \
|
| Object& element = Object::Handle(isolate); \
|
|
|