Fix Mac compilation issue. (flutter/engine#147)

This commit is contained in:
Chinmay Garde
2022-04-20 12:36:40 -07:00
committed by Dan Field
parent a6134bf6ba
commit 49069bef87

View File

@@ -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;