From 25d61ff8b5d994a02c0cc2af8e029bebd3a94cb3 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 12 Jan 2026 12:13:01 +0100 Subject: hashtable: Remove unnecessary casts by using the correct type for the `next` member --- src/hashtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hashtable.h') diff --git a/src/hashtable.h b/src/hashtable.h index 42d7b93..514cfec 100644 --- a/src/hashtable.h +++ b/src/hashtable.h @@ -25,7 +25,7 @@ typedef struct hashentry_t { void *key; void *value; - void *next; + struct hashentry_t *next; } hashentry_t; typedef unsigned int(*hash_func_t)(const void* key); -- cgit v1.1-32-gdbae