Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
1fb3bd99
Commit
1fb3bd99
authored
Jul 24, 2013
by
Zack Galbreath
Committed by
Code Review
Jul 24, 2013
Browse files
Merge topic 'fix_warning' into master
080a7f72
resolve new warning
parents
f02476b2
080a7f72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Common/Core/vtkAbstractArray.cxx
View file @
1fb3bd99
...
...
@@ -741,7 +741,8 @@ void vtkAbstractArray::UpdateDiscreteValueSet(
vtkIdType
numberOfBlocks
=
numberOfSampleTuples
/
blockSize
+
(
numberOfSampleTuples
%
blockSize
?
1
:
0
);
if
(
numberOfBlocks
*
blockSize
<
2
*
this
->
MaxDiscreteValues
)
if
(
static_cast
<
unsigned
int
>
(
numberOfBlocks
*
blockSize
)
<
2
*
this
->
MaxDiscreteValues
)
{
numberOfBlocks
=
2
*
this
->
MaxDiscreteValues
/
blockSize
+
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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