Commit 268434a7 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed more size_t

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@857 fdac6126-5c0c-442c-9429-916003d36597
parent 13420acf
...@@ -274,7 +274,7 @@ private: ...@@ -274,7 +274,7 @@ private:
/// Get the entry at index _idx /// Get the entry at index _idx
inline HeapEntry entry(unsigned int _idx) const inline HeapEntry entry(size_t _idx) const
{ {
assert(_idx < size()); assert(_idx < size());
return (Base::operator[](_idx)); return (Base::operator[](_idx));
...@@ -282,7 +282,7 @@ private: ...@@ -282,7 +282,7 @@ private:
/// Set entry _h to index _idx and update _h's heap position. /// Set entry _h to index _idx and update _h's heap position.
inline void entry(unsigned int _idx, HeapEntry _h) inline void entry(size_t _idx, HeapEntry _h)
{ {
assert(_idx < size()); assert(_idx < size());
Base::operator[](_idx) = _h; Base::operator[](_idx) = _h;
......
...@@ -146,7 +146,7 @@ check(unsigned int _targets, std::ostream& _os) ...@@ -146,7 +146,7 @@ check(unsigned int _targets, std::ostream& _os)
typename Mesh::ConstHalfedgeIter h_it(mesh_.halfedges_begin()), typename Mesh::ConstHalfedgeIter h_it(mesh_.halfedges_begin()),
h_end(mesh_.halfedges_end()); h_end(mesh_.halfedges_end());
typename Mesh::HalfedgeHandle hh, hstart, hhh; typename Mesh::HalfedgeHandle hh, hstart, hhh;
unsigned int count, n_halfedges = 2*mesh_.n_edges(); size_t count, n_halfedges = 2*mesh_.n_edges();
for (; h_it != h_end; ++h_it) for (; h_it != h_end; ++h_it)
{ {
......
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