Index: runtime/bin/vmservice_impl.cc |
diff --git a/runtime/bin/vmservice_impl.cc b/runtime/bin/vmservice_impl.cc |
index 89d802f4a7c6ab47342bccd731587c68f8555145..3037ad6652038bfce756e39779856d2601ef637b 100644 |
--- a/runtime/bin/vmservice_impl.cc |
+++ b/runtime/bin/vmservice_impl.cc |
@@ -313,7 +313,7 @@ Dart_Handle VmService::LoadResource(Dart_Handle library, |
RETURN_ERROR_HANDLE(result); |
ASSERT(data_buffer_length == data_list_buffer_length); |
ASSERT(data_list_buffer != NULL); |
- ASSERT(type = Dart_TypedData_kUint8); |
+ ASSERT(type == Dart_TypedData_kUint8); |
memmove(data_list_buffer, &data_buffer[0], data_buffer_length); |
result = Dart_TypedDataReleaseData(data_list); |
RETURN_ERROR_HANDLE(result); |