Skip to content
Snippets Groups Projects
Commit 6691f038 authored by mattijs's avatar mattijs
Browse files

COMP: UList mixing signed and unsigned ints

parent dc978815
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ Foam::label Foam::UList<T>::byteSize() const ...@@ -113,7 +113,7 @@ Foam::label Foam::UList<T>::byteSize() const
<< abort(FatalError); << abort(FatalError);
} }
return this->size_*sizeof(T); return this->size_*label(sizeof(T));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment