From fa796a088daff9a53b9ae4a6e646c153aeac0a1c Mon Sep 17 00:00:00 2001 From: Clement Jamin Date: Tue, 28 Oct 2014 16:56:44 +0100 Subject: [PATCH] unsigned long was not big enough here --- .../include/CGAL/TDS_full_cell_default_storage_policy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Triangulation/include/CGAL/TDS_full_cell_default_storage_policy.h b/Triangulation/include/CGAL/TDS_full_cell_default_storage_policy.h index 0572007592d..085fe950939 100644 --- a/Triangulation/include/CGAL/TDS_full_cell_default_storage_policy.h +++ b/Triangulation/include/CGAL/TDS_full_cell_default_storage_policy.h @@ -50,7 +50,7 @@ struct TFC_data< Vertex_handle, Full_cell_handle, Dimen, TDS_full_cell_default_s void* & for_compact_container() { return vertices_.for_compact_container(); } int dimension() const { return ( vertices_.size() - 1 ); } void set_mirror_index(const int, const int) {} - typedef unsigned long Xor_type; // TODO: choose a type that works for sure in 32bits and 64bits machines + typedef std::ptrdiff_t Xor_type; Xor_type xor_of_vertices(const int cur_dim) const { Xor_type result(0);