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

Commit 57db430

Browse files
committed
Polish
1 parent ffde71e commit 57db430

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shell/platform/windows/flutter_windows_engine.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,12 +310,12 @@ bool FlutterWindowsEngine::Run(std::string_view entrypoint) {
310310
void* user_data) {
311311
auto host = static_cast<FlutterWindowsEngine*>(user_data);
312312

313-
for (int i = 0; i < update->nodes_count; i++) {
313+
for (size_t i = 0; i < update->nodes_count; i++) {
314314
const FlutterSemanticsNode* node = update->nodes + i;
315315
host->accessibility_bridge_->AddFlutterSemanticsNodeUpdate(node);
316316
}
317317

318-
for (int i = 0; i < update->custom_actions_count; i++) {
318+
for (size_t i = 0; i < update->custom_actions_count; i++) {
319319
const FlutterSemanticsCustomAction* action = update->custom_actions + i;
320320
host->accessibility_bridge_->AddFlutterSemanticsCustomActionUpdate(
321321
action);

0 commit comments

Comments
 (0)