From 180a43d09721a32ad502f5e583d3b2d797501c00 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Fri, 27 Sep 2019 17:51:44 +0200 Subject: Fixed MSVC warnings (#4400) --- src/Generating/ChunkDesc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Generating/ChunkDesc.cpp') diff --git a/src/Generating/ChunkDesc.cpp b/src/Generating/ChunkDesc.cpp index 1aecb83be..8dfbab1a8 100644 --- a/src/Generating/ChunkDesc.cpp +++ b/src/Generating/ChunkDesc.cpp @@ -572,7 +572,7 @@ void cChunkDesc::RandomFillRelCuboid( cBlockEntity * cChunkDesc::GetBlockEntity(int a_RelX, int a_RelY, int a_RelZ) { - auto Idx = cChunkDef::MakeIndex(a_RelX, a_RelY, a_RelZ); + auto Idx = static_cast(cChunkDef::MakeIndex(a_RelX, a_RelY, a_RelZ)); auto itr = m_BlockEntities.find(Idx); if (itr != m_BlockEntities.end()) -- cgit v1.2.3