summaryrefslogtreecommitdiff
path: root/scene/2d/navigation_polygon.cpp
diff options
context:
space:
mode:
authorqarmin <mikrutrafal54@gmail.com>2019-09-22 18:45:08 +0200
committerqarmin <mikrutrafal54@gmail.com>2019-09-22 18:45:08 +0200
commit50be65bf4314d9b3c5888f5f02d6ffae504aae7a (patch)
treecc50e5957fcf9481b5b60919869a20e60b34c2df /scene/2d/navigation_polygon.cpp
parent2e065d8ad07bb20fede0d0c0b2d33d6628033024 (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.cpp2
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) {