diff options
author | rubenwardy <rw@rubenwardy.com> | 2022-07-30 12:51:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-30 12:51:23 +0100 |
commit | a8711158896d993e23d823f41ab086c3915c7d4e (patch) | |
tree | 4883ab0310ec344883b8042dea3195cd73717c2e /src/emerge.cpp | |
parent | 6a269d58ef28be6428a5fb62c0eb966fc1ff5883 (diff) | |
download | minetest-a8711158896d993e23d823f41ab086c3915c7d4e.tar.gz minetest-a8711158896d993e23d823f41ab086c3915c7d4e.tar.bz2 minetest-a8711158896d993e23d823f41ab086c3915c7d4e.zip |
Fix some warnings (#12615)
Diffstat (limited to 'src/emerge.cpp')
-rw-r--r-- | src/emerge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emerge.cpp b/src/emerge.cpp index e36d36448..3e42742f6 100644 --- a/src/emerge.cpp +++ b/src/emerge.cpp @@ -504,7 +504,7 @@ EmergeThread *EmergeManager::getOptimalThread() void EmergeManager::reportCompletedEmerge(EmergeAction action) { - assert((int)action < ARRLEN(m_completed_emerge_counter)); + assert((size_t)action < ARRLEN(m_completed_emerge_counter)); m_completed_emerge_counter[(int)action]->increment(); } |