summaryrefslogtreecommitdiffhomepage
path: root/ir/adt
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2016-05-12 15:40:50 +0200
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2016-05-12 15:40:50 +0200
commita8583be0d6ec050ff34853f4a0268894fac2b8a7 (patch)
tree64ab53eb666d541fcec7cd43ed1ba1c478b03f66 /ir/adt
parent52e16f28f53699f859eb2f8bdad65cd8caa07985 (diff)
Fix indentation
Diffstat (limited to 'ir/adt')
-rw-r--r--ir/adt/pqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/adt/pqueue.c b/ir/adt/pqueue.c
index 9598d01..1f7d8d7 100644
--- a/ir/adt/pqueue.c
+++ b/ir/adt/pqueue.c
@@ -49,7 +49,7 @@ static void pqueue_heapify(pqueue_t *q, size_t pos)
exchange = pos * 2;
if ((pos * 2 + 1) < len
- && q->elems[exchange].priority < q->elems[pos * 2 + 1].priority)
+ && q->elems[exchange].priority < q->elems[pos * 2 + 1].priority)
exchange = pos * 2 + 1;
if (exchange == pos)