summaryrefslogtreecommitdiffstats
path: root/filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter.c')
-rw-r--r--filter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter.c b/filter.c
index 0498ced2..9bbe5f1a 100644
--- a/filter.c
+++ b/filter.c
@@ -93,13 +93,13 @@ static void trie_compress(val *ptrie)
set(*ptrie, value);
} else if (eq(count, one) && nullp(value)) {
val iter = hash_begin(trie);
- val cell = hash_next(&iter);
+ val cell = hash_next(iter);
set(*ptrie, cons(car(cell), cdr(cell)));
trie_compress(cdr_l(*ptrie));
} else {
val cell, iter = hash_begin(trie);
- for (cell = hash_next(&iter); iter; cell = hash_next(&iter))
+ for (cell = hash_next(iter); cell; cell = hash_next(iter))
trie_compress(cdr_l(cell));
}
} else if (consp(trie)) {