size_t fixes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@868 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -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; }
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user