Remove warning

This commit is contained in:
Guillaume Damiand 2013-11-14 08:39:34 +01:00
parent 8d560a5661
commit ddefa1f60c
2 changed files with 8 additions and 8 deletions

View File

@ -167,24 +167,24 @@ namespace CGAL {
// Access to beta maps
Dart_handle get_beta(Dart_handle ADart, int B1)
{
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=dimension);
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=(int)dimension);
return ADart->mbeta[B1];
}
Dart_const_handle get_beta(Dart_const_handle ADart, int B1) const
{
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=dimension);
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=(int)dimension);
return ADart->mbeta[B1];
}
template<int B1>
Dart_handle get_beta(Dart_handle ADart)
{
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=dimension);
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=(int)dimension);
return ADart->mbeta[B1];
}
template<int B1>
Dart_const_handle get_beta(Dart_const_handle ADart) const
{
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=dimension);
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=(int)dimension);
return ADart->mbeta[B1];
}

View File

@ -167,24 +167,24 @@ namespace CGAL {
// Access to beta maps
Dart_handle get_beta(Dart_handle ADart, int B1)
{
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=dimension);
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=(int)dimension);
return ADart->mbeta[B1];
}
Dart_const_handle get_beta(Dart_const_handle ADart, int B1) const
{
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=dimension);
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=(int)dimension);
return ADart->mbeta[B1];
}
template<int B1>
Dart_handle get_beta(Dart_handle ADart)
{
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=dimension);
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=(int)dimension);
return ADart->mbeta[B1];
}
template<int B1>
Dart_const_handle get_beta(Dart_const_handle ADart) const
{
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=dimension);
CGAL_assertion(ADart!=NULL && B1>=0 && B1<=(int)dimension);
return ADart->mbeta[B1];
}