COMP: use label() to convert from uint to avoid compiler warning
This commit is contained in:
parent
7ec390d23d
commit
9b81b5f14b
@ -381,7 +381,7 @@ void Foam::List<T>::setSize(const label newSize)
|
||||
template<class T>
|
||||
void Foam::List<T>::setSize(const label newSize, const T& a)
|
||||
{
|
||||
label oldSize = this->size_;
|
||||
label oldSize = label(this->size_);
|
||||
this->setSize(newSize);
|
||||
|
||||
if (newSize > oldSize)
|
||||
|
Loading…
Reference in New Issue
Block a user