Commit 9b81b5f1 authored by Andrew Heather's avatar Andrew Heather
Browse files

COMP: use label() to convert from uint to avoid compiler warning

parent 7ec390d2
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment