From 62cecc5bb3292a4890165ad97030293fc928a7f5 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 6 Jun 2023 06:57:47 +0200 Subject: [PATCH] Fix int sign comparison warning. --- .../pandemonium_navigation_mesh_generator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/navigation_mesh_generator/pandemonium_navigation_mesh_generator.cpp b/modules/navigation_mesh_generator/pandemonium_navigation_mesh_generator.cpp index bb214319c..21c164592 100644 --- a/modules/navigation_mesh_generator/pandemonium_navigation_mesh_generator.cpp +++ b/modules/navigation_mesh_generator/pandemonium_navigation_mesh_generator.cpp @@ -264,7 +264,7 @@ void PandemoniumNavigationMeshGenerator::bake_2d_from_source_geometry_data(Ref p_navigation_polygon, Node *p_node, Ref p_source_geometry_data, bool p_recurse_children, LocalVector> &p_geometry_2d_parsers) { - for (int i = 0; i < p_geometry_2d_parsers.size(); ++i) { + for (uint32_t i = 0; i < p_geometry_2d_parsers.size(); ++i) { Ref &geometry_2d_parser = p_geometry_2d_parsers[i]; if (geometry_2d_parser->parses_node(p_node)) { @@ -910,7 +910,7 @@ void PandemoniumNavigationMeshGenerator::bake_3d_from_source_geometry_data(Ref p_navigation_mesh, Node *p_node, Ref p_source_geometry_data, bool p_recurse_children, LocalVector> &p_geometry_3d_parsers) { - for (int i = 0; i < p_geometry_3d_parsers.size(); ++i) { + for (uint32_t i = 0; i < p_geometry_3d_parsers.size(); ++i) { Ref &geometry_3d_parser = p_geometry_3d_parsers[i]; if (geometry_3d_parser->parses_node(p_node)) {