fix 64-bit error

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@971 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Matthias Möller
2013-10-14 17:23:30 +00:00
parent e5a6424591
commit 02d84de9c2

View File

@@ -146,8 +146,8 @@ namespace OpenMesh {
unsigned int N = 0; unsigned int N = 0;
_v.clear(); _v.clear();
bytes += IO::restore( _is, N, _swap ); bytes += IO::restore( _is, N, _swap );
std::string key; value_type::key_type key;
size_t val; value_type::mapped_type val;
for (size_t i=0; i<N && _is.good(); ++i) for (size_t i=0; i<N && _is.good(); ++i)
{ {
bytes += IO::restore( _is, key, _swap ); bytes += IO::restore( _is, key, _swap );