diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-09-25 13:58:19 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-09-25 14:15:01 -0400 |
commit | 76253d272c50ba08002a47395e47a4f9ce4fb53e (patch) | |
tree | 7878515f6478af2dd98ac2780c6ec9ad11c19c9c /src/color.c | |
parent | e4304e8b9e74577947647743fd51937ac51956c9 (diff) | |
download | bfs-76253d272c50ba08002a47395e47a4f9ce4fb53e.tar.xz |
Use the new list macros
Diffstat (limited to 'src/color.c')
-rw-r--r-- | src/color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color.c b/src/color.c index b9a788b..5e78c6c 100644 --- a/src/color.c +++ b/src/color.c @@ -328,7 +328,7 @@ fail: static int build_iext_trie(struct colors *colors) { trie_clear(&colors->iext_trie); - TRIE_FOR_EACH(&colors->ext_trie, leaf) { + for_trie (leaf, &colors->ext_trie) { size_t len = leaf->length - 1; if (colors->ext_len < len) { colors->ext_len = len; |