mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 09:16:18 +00:00
Changed: #825 Remove all warning when compiling Ryzom
This commit is contained in:
parent
67d5518aaf
commit
1ee2dd6f6a
3 changed files with 5 additions and 5 deletions
|
@ -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<NumTypoChar))
|
||||
return _TypoCharWs[c];
|
||||
return _TypoCharWs[(uint)c];
|
||||
else
|
||||
return 1;
|
||||
}
|
||||
|
@ -1103,7 +1103,7 @@ sint32 CViewRenderer::getTypoTextureH(char /* c */)
|
|||
sint32 CViewRenderer::getTypoTextureId(char c)
|
||||
{
|
||||
if ((c>=0) && (c<NumTypoChar))
|
||||
return _TypoCharToTextureIds[c];
|
||||
return _TypoCharToTextureIds[(uint)c];
|
||||
else
|
||||
return -1;
|
||||
}
|
||||
|
|
|
@ -3166,7 +3166,7 @@ private:
|
|||
ucstring web_app;
|
||||
uint i;
|
||||
const uint digitStart= 6;
|
||||
const uint digitMaxEnd= contentStr.size();
|
||||
const uint digitMaxEnd= (uint)contentStr.size();
|
||||
|
||||
is_webig = true;
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ void CPage::init (uint id, const char *name, bool bold, uint icon, uint resid, C
|
|||
Parent = parent;
|
||||
Icon = icon;
|
||||
ResId = resid;
|
||||
ChildId = parent->Children.size ();
|
||||
ChildId = (uint)parent->Children.size ();
|
||||
if (parent)
|
||||
parent->Children.push_back (this);
|
||||
Name = name;
|
||||
|
|
Loading…
Reference in a new issue