Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
9b81b5f1
Commit
9b81b5f1
authored
Oct 04, 2010
by
Andrew Heather
Browse files
COMP: use label() to convert from uint to avoid compiler warning
parent
7ec390d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/containers/Lists/List/List.C
View file @
9b81b5f1
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment