Skip to content

Commit

Permalink
Fix Mac compilation issue. (flutter#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde authored and dnfield committed Apr 27, 2022
1 parent f86c9b7 commit 01e81ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impeller/geometry/rect.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ struct TRect {
constexpr std::array<TPoint<T>, 4> GetTransformedPoints(
const Matrix& transform) const {
auto points = GetPoints();
for (int i = 0; i < points.size(); i++) {
for (size_t i = 0; i < points.size(); i++) {
points[i] = transform * points[i];
}
return points;
Expand Down

0 comments on commit 01e81ef

Please sign in to comment.