From c7ef125d30e60fd02af1af7c529d4eb5490de6c1 Mon Sep 17 00:00:00 2001 From: HisShadow Date: Wed, 22 May 2024 17:54:25 +0300 Subject: [PATCH] Fix the wrong type passed into iks_stack_delete iks_stack_delete expects a ikstack **, but ikstack * is passed instead. I believe it's a bug, which showed itself, because gcc 14 treats wrong pointer types warnings as errors now. --- libs/iksemel/tools/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/iksemel/tools/hash.c b/libs/iksemel/tools/hash.c index c4b1179a87..70fb41cfa9 100644 --- a/libs/iksemel/tools/hash.c +++ b/libs/iksemel/tools/hash.c @@ -138,7 +138,7 @@ hash_print (hash *h, char *title_fmt, char *line_fmt) void hash_delete (hash *h) { - iks_stack_delete (h->s); + iks_stack_delete (&h->s); free (h->table); free (h); }