Changed: #825 Remove all warning when compiling Ryzom on Linux

This commit is contained in:
kervala 2010-05-17 10:41:03 +02:00
parent 8a1edbc395
commit addc3f8ad1
2 changed files with 2 additions and 2 deletions

View file

@ -492,7 +492,7 @@ uint32 CAliasCont<TChld>::getChildIndexByAlias(uint32 alias) const
{
TChld* child = this->_Childs[i];
if (child!=NULL && child->getAlias()==alias)
return i;
return (uint32)i;
}
return ~0;
}

View file

@ -2943,7 +2943,7 @@ void CHeap<T, V>::push(T key, V const& value)
{
_Heap.push_back(THeapNode(key, value));
backwardLeveling(_Heap.size()-1);
backwardLeveling((uint)_Heap.size()-1);
}
template <typename T, typename V>