summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-12-12 20:22:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-12-12 20:22:09 +0100
commit3a53c6ede79835c5711bda3a332995f2407f5d12 (patch)
treeb069f892660f20ae389e2ebf565c0bae1d38a604 /src
parentafc63fbba0e6009ec4132922545335594a20493e (diff)
cc
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();