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:
Jan Möbius
2012-07-17 10:13:27 +00:00
parent 91e1a7fdca
commit 46ab02296e
2 changed files with 2 additions and 2 deletions

View File

@@ -521,7 +521,7 @@ size_t _OMReader_::restore_binary_custom_data(std::istream& _is, BaseProperty* _
Chunk::esize_t block_size;
Chunk::PropertyName custom_prop;
bytes += binary<Chunk::esize_t>::restore(_is, block_size, _swap);
bytes += restore(_is, block_size, OMFormat::Chunk::Integer_32, _swap);
if (_bp) {
size_t n_bytes = _bp->size_of(_n_elem);