Chromium Code Reviews| 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 85f1fbbd70a2887ec38e19726b413399d11be663..fb8c433d118b8810c09b03414d25c8b5241250aa 100644 |
| --- a/runtime/vm/dart_api_impl_test.cc |
| +++ b/runtime/vm/dart_api_impl_test.cc |
| @@ -7160,7 +7160,7 @@ void NewNativePort_send123(Dart_Port dest_port_id, |
| // Check peer validity. |
| EXPECT_NOTNULL(peer); |
| - EXPECT_EQ(0xDEADBEEF, *static_cast<intptr_t*>(peer)); |
| + EXPECT_EQ(static_cast<intptr_t>(0xDEADBEEF), *static_cast<intptr_t*>(peer)); |
|
Florian Schneider
2017/01/30 22:13:23
I think the l-suffix should work, but have not con
|
| *static_cast<intptr_t*>(peer) = 123; |
| // Post integer value. |
| @@ -7183,7 +7183,7 @@ void NewNativePort_send321(Dart_Port dest_port_id, |
| // Check peer validity. |
| EXPECT_NOTNULL(peer); |
| - EXPECT_EQ(0xDEADBEEF, *static_cast<intptr_t*>(peer)); |
| + EXPECT_EQ(static_cast<intptr_t>(0xDEADBEEF), *static_cast<intptr_t*>(peer)); |
| *static_cast<intptr_t*>(peer) = 321; |
| // Post integer value. |