From ddefa1f60c5d2e4689481b8cc3eebb404d71f648 Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Thu, 14 Nov 2013 08:39:34 +0100 Subject: [PATCH] Remove warning --- .../include/CGAL/Combinatorial_map_storages.h | 8 ++++---- .../include/CGAL/Linear_cell_complex_storages.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Combinatorial_map/include/CGAL/Combinatorial_map_storages.h b/Combinatorial_map/include/CGAL/Combinatorial_map_storages.h index 9edfb54c45d..82f7443ccec 100644 --- a/Combinatorial_map/include/CGAL/Combinatorial_map_storages.h +++ b/Combinatorial_map/include/CGAL/Combinatorial_map_storages.h @@ -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 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 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]; } diff --git a/Linear_cell_complex/include/CGAL/Linear_cell_complex_storages.h b/Linear_cell_complex/include/CGAL/Linear_cell_complex_storages.h index 63b43d8fed0..db1d4595268 100644 --- a/Linear_cell_complex/include/CGAL/Linear_cell_complex_storages.h +++ b/Linear_cell_complex/include/CGAL/Linear_cell_complex_storages.h @@ -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 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 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]; }