From c776284db1e7eef2b775f2c391690bb364c957c3 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;