1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-02 01:36:39 +00:00

Type index type error fixed

This commit is contained in:
florent.teppe 2022-09-03 16:36:53 +02:00
parent 85a9edf2ee
commit 33ea66b86d

View file

@ -270,7 +270,7 @@ namespace MWWorld
template<typename T>
static int AssignStoreToIndex(ESMStore& stores, Store<T>& store)
{
const int storeIndex = ESMStore::getTypeIndex<T>();
const std::size_t storeIndex = ESMStore::getTypeIndex<T>();
if (stores.mStores.size() <= storeIndex)
stores.mStores.resize(storeIndex + 1);