Commit 0f1e52eb authored by Jan Möbius's avatar Jan Möbius

Fixed more size_t

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@858 fdac6126-5c0c-442c-9429-916003d36597
parent 268434a7
...@@ -311,10 +311,9 @@ HeapT<HeapEntry, HeapInterface>:: ...@@ -311,10 +311,9 @@ HeapT<HeapEntry, HeapInterface>::
upheap(unsigned int _idx) upheap(unsigned int _idx)
{ {
HeapEntry h = entry(_idx); HeapEntry h = entry(_idx);
unsigned int parentIdx; size_t parentIdx;
while ((_idx>0) && while ((_idx>0) && interface_.less(h, entry(parentIdx=parent(_idx))))
interface_.less(h, entry(parentIdx=parent(_idx))))
{ {
entry(_idx, entry(parentIdx)); entry(_idx, entry(parentIdx));
_idx = parentIdx; _idx = parentIdx;
......
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