diff options
author | qarmin <mikrutrafal54@gmail.com> | 2019-09-22 18:45:08 +0200 |
---|---|---|
committer | qarmin <mikrutrafal54@gmail.com> | 2019-09-22 18:45:08 +0200 |
commit | 50be65bf4314d9b3c5888f5f02d6ffae504aae7a (patch) | |
tree | cc50e5957fcf9481b5b60919869a20e60b34c2df /scene/2d/navigation_polygon.cpp | |
parent | 2e065d8ad07bb20fede0d0c0b2d33d6628033024 (diff) |
Changed some code found by Clang Tidy and Coverity
Diffstat (limited to 'scene/2d/navigation_polygon.cpp')
-rw-r--r-- | scene/2d/navigation_polygon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/navigation_polygon.cpp b/scene/2d/navigation_polygon.cpp index e389d5f98f..678db85ff0 100644 --- a/scene/2d/navigation_polygon.cpp +++ b/scene/2d/navigation_polygon.cpp @@ -271,7 +271,7 @@ void NavigationPolygon::make_polygons_from_outlines() { struct Polygon p; - for (int i = 0; i < tp.GetNumPoints(); i++) { + for (int64_t i = 0; i < tp.GetNumPoints(); i++) { Map<Vector2, int>::Element *E = points.find(tp[i]); if (!E) { |