| Index: runtime/vm/object_test.cc
|
| diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc
|
| index 96d081da2e9bb4379a171a87c936373f787a2853..e9e2dfc2809b319bdb588509fdfe4799d0f70cca 100644
|
| --- a/runtime/vm/object_test.cc
|
| +++ b/runtime/vm/object_test.cc
|
| @@ -4229,7 +4229,7 @@ TEST_CASE(PrintJSON) {
|
| // out = "\"id\":\"\""
|
| //
|
| static void elideSubstring(const char* prefix, const char* in, char* out) {
|
| - char* pos = strstr(in, prefix);
|
| + const char* pos = strstr(in, prefix);
|
| while (pos != NULL) {
|
| // Copy up to pos into the output buffer.
|
| while (in < pos) {
|
|
|