From cf319d20fdeb6d15f9d7cf420cf8443664589841 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sat, 23 Oct 2010 07:46:39 -0600 Subject: [PATCH] Author: Andrew Beverley Fix variable name clash in heap.c --- lib/heap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/heap.c b/lib/heap.c index 7675ee4f98..8226d88ca8 100644 --- a/lib/heap.c +++ b/lib/heap.c @@ -356,8 +356,8 @@ _heap_ify_down(heap * hp, heap_node * elm) { heap_node *kid; int left = 0, right = 0; - int true = 1; - while (true) { + int isTrue = 1; + while (isTrue) { left = Left(elm->id); right = Right(elm->id); if (!_heap_node_exist(hp, left)) { -- 2.47.2