From d8268aae303d42544eb28a6f86da79e027f4882a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 28 Sep 2022 16:43:09 +0200 Subject: Fix MSVC warnings C4324, C4389, C4456, and C4459 Part of #66537. --- modules/gridmap/grid_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gridmap') diff --git a/modules/gridmap/grid_map.cpp b/modules/gridmap/grid_map.cpp index 466a2efd21..05ce2b6147 100644 --- a/modules/gridmap/grid_map.cpp +++ b/modules/gridmap/grid_map.cpp @@ -1149,7 +1149,7 @@ TypedArray GridMap::get_used_cells() const { TypedArray GridMap::get_used_cells_by_item(int p_item) const { TypedArray a; for (const KeyValue &E : cell_map) { - if (E.value.item == p_item) { + if ((int)E.value.item == p_item) { Vector3i p(E.key.x, E.key.y, E.key.z); a.push_back(p); } -- cgit v1.2.3