1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix MSVC warnings C4324, C4389, C4456, and C4459

Part of #66537.
This commit is contained in:
Rémi Verschelde
2022-09-28 16:43:09 +02:00
parent 14e1f36e61
commit d8268aae30
9 changed files with 111 additions and 11 deletions

View File

@@ -1149,7 +1149,7 @@ TypedArray<Vector3i> GridMap::get_used_cells() const {
TypedArray<Vector3i> GridMap::get_used_cells_by_item(int p_item) const {
TypedArray<Vector3i> a;
for (const KeyValue<IndexKey, Cell> &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);
}