Changed: #825 Remove all warnings when compiling Ryzom

This commit is contained in:
kervala 2012-05-14 13:06:37 +02:00
parent e9408a8a0f
commit c776284db1

View file

@ -94,7 +94,7 @@ public:
// size of used elements must be equal to the vector size minus one, when everything is allocated // size of used elements must be equal to the vector size minus one, when everything is allocated
nlassert((m_Ids.size() - 1) == m_Size); nlassert((m_Ids.size() - 1) == m_Size);
idx = m_Ids.size(); idx = (uint16)m_Ids.size();
uint16 verification = rand(); uint16 verification = rand();
m_Ids.push_back(CIdInfo(verification, m_Next, value)); m_Ids.push_back(CIdInfo(verification, m_Next, value));
m_Next = idx; m_Next = idx;