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