summaryrefslogtreecommitdiffstats
path: root/src/sign.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sign.c')
-rw-r--r--src/sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sign.c b/src/sign.c
index 64b64c9787..8aa043bc45 100644
--- a/src/sign.c
+++ b/src/sign.c
@@ -2058,7 +2058,7 @@ get_nth_sign_group_name(int idx)
// Complete with name of sign groups already defined
current_idx = 0;
todo = (int)sg_table.ht_used;
- for (hi = sg_table.ht_array; todo > 0; ++hi)
+ FOR_ALL_HASHTAB_ITEMS(&sg_table, hi, todo)
{
if (!HASHITEM_EMPTY(hi))
{