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

Commit

Permalink
Use sizeof
Browse files Browse the repository at this point in the history
  • Loading branch information
yaakovschectman committed Apr 10, 2024
1 parent 27d3405 commit e2d7bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/platform/windows/compositor_software.cc
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ bool CompositorSoftware::Present(FlutterWindowsView* view,
}

return view->PresentSoftwareBitmap(static_cast<void*>(allocation.data()),
width * 4, height);
width * sizeof(uint32_t), height);
}

} // namespace flutter

0 comments on commit e2d7bbb

Please sign in to comment.