Index: runtime/vm/dart_api_impl_test.cc |
diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc |
index bc64c9060b716c7b83f82c9617d7d8852b7482a5..ecc1df1ecd978bb81f3f82ded36f1f1e21b030ce 100644 |
--- a/runtime/vm/dart_api_impl_test.cc |
+++ b/runtime/vm/dart_api_impl_test.cc |
@@ -541,7 +541,7 @@ TEST_CASE(IsString) { |
EXPECT(Dart_IsString(ext16)); |
EXPECT(Dart_IsExternalString(ext16)); |
- uint32_t data32[] = { 'f', 'o', 'u', 'r', 0x10FFFF }; |
+ int32_t data32[] = { 'f', 'o', 'u', 'r', 0x10FFFF }; |
Dart_Handle str32 = Dart_NewStringFromUTF32(data32, ARRAY_SIZE(data32)); |
EXPECT_VALID(str32); |
@@ -6770,7 +6770,7 @@ TEST_CASE(NativeStaticFunctionClosure) { |
TEST_CASE(RangeLimits) { |
uint8_t chars8[1] = {'a'}; |
uint16_t chars16[1] = {'a'}; |
- uint32_t chars32[1] = {'a'}; |
+ int32_t chars32[1] = {'a'}; |
EXPECT_ERROR(Dart_NewList(-1), |
"expects argument 'length' to be in the range"); |