size_t fixes

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@868 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-07-24 09:30:04 +00:00
parent a1ebb8b7b5
commit 420b5e5928
2 changed files with 4 additions and 4 deletions

View File

@@ -291,11 +291,11 @@ private:
/// Get parent's index
inline unsigned int parent(unsigned int _i) { return (_i-1)>>1; }
inline size_t parent(size_t _i) { return (_i-1)>>1; }
/// Get left child's index
inline unsigned int left(unsigned int _i) { return (_i<<1)+1; }
inline size_t left(size_t _i) { return (_i<<1)+1; }
/// Get right child's index
inline unsigned int right(unsigned int _i) { return (_i<<1)+2; }
inline size_t right(size_t _i) { return (_i<<1)+2; }
};