From 06df6c64b702dd455588044127ee7b54677f909b Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 14 May 2012 13:06:37 +0200 Subject: [PATCH] Changed: #825 Remove all warnings when compiling Ryzom --- code/nel/include/nel/misc/fast_id_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/include/nel/misc/fast_id_map.h b/code/nel/include/nel/misc/fast_id_map.h index dbd05bc76..bccec051b 100644 --- a/code/nel/include/nel/misc/fast_id_map.h +++ b/code/nel/include/nel/misc/fast_id_map.h @@ -94,7 +94,7 @@ public: // size of used elements must be equal to the vector size minus one, when everything is allocated nlassert((m_Ids.size() - 1) == m_Size); - idx = m_Ids.size(); + idx = (uint16)m_Ids.size(); uint16 verification = rand(); m_Ids.push_back(CIdInfo(verification, m_Next, value)); m_Next = idx;