fix conversion warnings

This commit is contained in:
Sébastien Loriot 2022-10-17 10:30:42 +02:00
parent d8fb80551c
commit e1c7254ffb
2 changed files with 2 additions and 2 deletions

View File

@ -454,7 +454,7 @@ protected:
std::unordered_map<Face_const_handle, bool> m_visited;
std::mt19937 m_rng;
std::uniform_int_distribution<size_t> m_uni; // guaranteed unbiased
std::uniform_int_distribution<unsigned char> m_uni; // guaranteed unbiased
};
//! Basic viewer of a 2D arrangement.

View File

@ -598,7 +598,7 @@ public:
Curve_2 inter_cv = ctr_cv(R, S, T, U, V, W);
Alg_point_2 vtan_ps[2];
CGAL_assertion_code(int n_vtan_ps =)
CGAL_assertion_code(std::size_t n_vtan_ps =)
gt_2->vertical_tangency_points(inter_cv, vtan_ps);
CGAL_assertion(n_vtan_ps == 2);