diff options
| author | 2026-01-12 12:13:01 +0100 | |
|---|---|---|
| committer | 2026-01-12 12:13:01 +0100 | |
| commit | 25d61ff8b5d994a02c0cc2af8e029bebd3a94cb3 (patch) | |
| tree | c64d79dff76e23704860e37e0bb45781e44e69cc /src/hashtable.h | |
| parent | c74e34edda2cd76194a09e76f945cfa89dd41a79 (diff) | |
| download | libplist-25d61ff8b5d994a02c0cc2af8e029bebd3a94cb3.tar.gz libplist-25d61ff8b5d994a02c0cc2af8e029bebd3a94cb3.tar.bz2 | |
hashtable: Remove unnecessary casts by using the correct type for the `next` member
Diffstat (limited to 'src/hashtable.h')
| -rw-r--r-- | src/hashtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
| 25 | typedef struct hashentry_t { | 25 | typedef struct hashentry_t { |
| 26 | void *key; | 26 | void *key; |
| 27 | void *value; | 27 | void *value; |
| 28 | void *next; | 28 | struct hashentry_t *next; |
| 29 | } hashentry_t; | 29 | } hashentry_t; |
| 30 | 30 | ||
| 31 | typedef unsigned int(*hash_func_t)(const void* key); | 31 | typedef unsigned int(*hash_func_t)(const void* key); |
