Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 202141e

Browse files
committed
Try #2
1 parent 678dc7b commit 202141e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shell/platform/darwin/macos/framework/Source/FlutterEngineTest.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ @interface FlutterEngine (Test)
230230
FlutterSemanticsNode nodes[] = {root, child1};
231231
update.nodes = nodes;
232232
update.custom_actions_count = 0;
233-
update_semantics_callback(&update, (void*)engine);
233+
update_semantics_callback(&update, (__bridge void*)engine);
234234

235235
// Verify the accessibility tree is attached to the flutter view.
236236
EXPECT_EQ([engine.viewController.flutterView.accessibilityChildren count], 1u);
@@ -320,7 +320,7 @@ @interface FlutterEngine (Test)
320320
FlutterSemanticsNode nodes[] = {root, child1};
321321
update.nodes = nodes;
322322
update.custom_actions_count = 0;
323-
update_semantics_callback(&update, (void*)engine);
323+
update_semantics_callback(&update, (__bridge void*)engine);
324324

325325
// No crashes.
326326
EXPECT_EQ(engine.viewController, nil);
@@ -406,7 +406,7 @@ @interface FlutterEngine (Test)
406406
FlutterSemanticsNode nodes[] = {root, child1};
407407
update.nodes = nodes;
408408
update.custom_actions_count = 0;
409-
update_semantics_callback(&update, (void*)engine);
409+
update_semantics_callback(&update, (__bridge void*)engine);
410410

411411
auto native_root = engine.accessibilityBridge.lock()->GetFlutterPlatformNodeDelegateFromID(0);
412412
EXPECT_FALSE(native_root.expired());

0 commit comments

Comments
 (0)