diff --git a/Stream_support/include/CGAL/IO/File_writer_OFF.h b/Stream_support/include/CGAL/IO/File_writer_OFF.h index ee0dcb28268..fa5155a9aca 100644 --- a/Stream_support/include/CGAL/IO/File_writer_OFF.h +++ b/Stream_support/include/CGAL/IO/File_writer_OFF.h @@ -84,13 +84,13 @@ public: } void write_facet_begin( std::size_t no) { if ( m_header.binary()) - I_Binary_write_big_endian_integer32( out(), no); + I_Binary_write_big_endian_integer32( out(), static_cast(no)); else out() << no << ' '; } void write_facet_vertex_index( std::size_t index) { if ( m_header.binary()) - I_Binary_write_big_endian_integer32( out(), index); + I_Binary_write_big_endian_integer32( out(), static_cast(index)); else out() << ' ' << index; }