Fix the calls to OFF_scanner.scan_facet and

.scan_facet_vertex_index. std::size_t shoud be used, now, instead of
Integer32.
This commit is contained in:
Laurent Rineau 2010-06-23 09:21:43 +00:00
parent 4a3b9888d6
commit 5d77f6a49f
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ Polyhedron_scan_OFF<HDS>:: operator()( HDS& target) {
// read in all facets
for ( i = 0; i < scanner.size_of_facets(); i++) {
B.begin_facet();
Integer32 no;
std::size_t no;
scanner.scan_facet( no, i);
if( ! m_in || B.error() || no < 3) {
if ( scanner.verbose()) {
@ -109,7 +109,7 @@ Polyhedron_scan_OFF<HDS>:: operator()( HDS& target) {
return;
}
for ( int j = 0; j < no; j++) {
Integer32 index;
std::size_t index;
scanner.scan_facet_vertex_index( index, i);
B.add_vertex_to_facet( index);
}