Commit 02d84de9 authored by Matthias Möller's avatar Matthias Möller

fix 64-bit error

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@971 fdac6126-5c0c-442c-9429-916003d36597
parent e5a64245
......@@ -146,8 +146,8 @@ namespace OpenMesh {
unsigned int N = 0;
_v.clear();
bytes += IO::restore( _is, N, _swap );
std::string key;
size_t val;
value_type::key_type key;
value_type::mapped_type val;
for (size_t i=0; i<N && _is.good(); ++i)
{
bytes += IO::restore( _is, key, _swap );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment