From 18dd1b0ee23e7fa9a792170ebd2ccdf554cde2cb Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 16 Jul 2010 22:23:45 +0200 Subject: [PATCH] Changed: #825 Remove all warning when compiling Ryzom --- code/ryzom/client/src/interface_v3/view_renderer.cpp | 6 +++--- code/ryzom/client/src/net_manager.cpp | 2 +- code/ryzom/tools/client/client_config/database.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/view_renderer.cpp b/code/ryzom/client/src/interface_v3/view_renderer.cpp index 90a010394..9e131ec71 100644 --- a/code/ryzom/client/src/interface_v3/view_renderer.cpp +++ b/code/ryzom/client/src/interface_v3/view_renderer.cpp @@ -611,7 +611,7 @@ void CViewRenderer::drawQuad(sint layerId, const NLMISC::CQuadUV &quadUV, sint32 std::swap(pUV0, pUV1); } - nlassert(count <= maxNumCorners); + nlassert(count <= (sint)maxNumCorners); if (count >= 3) { count -= 2; @@ -1088,7 +1088,7 @@ CRGBA CViewRenderer::getTextureColor(sint32 id, sint32 x, sint32 y) sint32 CViewRenderer::getTypoTextureW(char c) { if ((c>=0) && (c=0) && (cChildren.size (); + ChildId = (uint)parent->Children.size (); if (parent) parent->Children.push_back (this); Name = name;