Commit 39b7a345 authored by Joachim Pouderoux's avatar Joachim Pouderoux
Browse files

Fix signed/unsigned warning in HTG.

Change-Id: I25be3f3329ab9a228865c64caaf7dfea287fd049
parent c903fe94
......@@ -950,8 +950,8 @@ void vtkHyperTree::FindChildParameters( int child, vtkIdType& index, bool& isLea
#define GetNodeParametersMacro( _N_ ) \
{ \
vtkCompactHyperTree<_N_>* tree = static_cast<vtkCompactHyperTree<_N_>*>( this ); \
vtkCompactHyperTreeNode<_N_>* node = tree->GetNode( index ); \
index = node->GetChild( child ); \
vtkCompactHyperTreeNode<_N_>* node = tree->GetNode( static_cast<int>(index) ); \
index = static_cast<vtkIdType>(node->GetChild( child )); \
isLeaf = node->IsChildLeaf( child ); \
return; \
}
......
Supports Markdown
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