Fix: OM Reader used different types on 32/64-bit systems. (Thanks to Martin Bayer for the patch)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@620 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -474,7 +474,7 @@ size_t _OMWriter_::store_binary_custom_chunk(std::ostream& _os,
|
||||
bytes += store( _os, OMFormat::Chunk::PropertyName(_bp.name()), _swap );
|
||||
|
||||
// 3. block size
|
||||
bytes += store( _os, _bp.size_of(), _swap );
|
||||
bytes += store( _os, _bp.size_of(), OMFormat::Chunk::Integer_32, _swap );
|
||||
omlog() << " n_bytes = " << _bp.size_of() << std::endl;
|
||||
|
||||
// 4. data
|
||||
|
||||
Reference in New Issue
Block a user