Fixed more size_t

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@857 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-07-24 06:42:30 +00:00
parent 13420acfd0
commit 268434a7a8
2 changed files with 3 additions and 3 deletions

View File

@@ -274,7 +274,7 @@ private:
/// Get the entry at index _idx
inline HeapEntry entry(unsigned int _idx) const
inline HeapEntry entry(size_t _idx) const
{
assert(_idx < size());
return (Base::operator[](_idx));
@@ -282,7 +282,7 @@ private:
/// 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());
Base::operator[](_idx) = _h;

View File

@@ -146,7 +146,7 @@ check(unsigned int _targets, std::ostream& _os)
typename Mesh::ConstHalfedgeIter h_it(mesh_.halfedges_begin()),
h_end(mesh_.halfedges_end());
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)
{