summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/chunk-walls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk-walls.cpp b/src/chunk-walls.cpp
index 6021aa3a..3c63028c 100644
--- a/src/chunk-walls.cpp
+++ b/src/chunk-walls.cpp
@@ -248,7 +248,7 @@ auto chunk::ensure_wall_mesh() noexcept -> wall_mesh_tuple
return {wall_mesh, {}, 0};
if (!_walls_modified)
- return { wall_mesh, _walls->mesh_indexes, size_t(wall_mesh.count()/6) };
+ return { wall_mesh, _walls->mesh_indexes, (size_t)wall_mesh.count()/6u };
_walls_modified = false;
wall_mesh = make_wall_mesh();