We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44dbe9f commit 014c002Copy full SHA for 014c002
1 file changed
include/gamecoe/entity/sparse_set.hpp
@@ -59,7 +59,7 @@ namespace gamecoe
59
page->fill(TOMBSTONE);
60
}
61
62
- (*page)[index_in_page(e)] = pack_dense_index(m_dense.size(), e.generation());
+ (*page)[index_in_page(e)] = pack_dense_index(static_cast<std::uint32_t>(m_dense.size()), e.generation());
63
m_dense.push_back(e);
64
65
0 commit comments