mirror of https://github.com/CGAL/cgal
static_cast
This commit is contained in:
parent
0239fb8b68
commit
152caf3b4a
|
|
@ -258,7 +258,7 @@ farin_c1_interpolation(RandomAccessIterator first,
|
|||
typename Functor::result_type f;
|
||||
typename GradFunctor::result_type grad;
|
||||
|
||||
int n= beyond - first;
|
||||
int n= static_cast<int>(beyond - first);
|
||||
if( n==1){
|
||||
f= function_value(first->first);
|
||||
CGAL_assertion(f.second);
|
||||
|
|
|
|||
Loading…
Reference in New Issue