aboutsummaryrefslogtreecommitdiff
path: root/src/ht/ft_inter_htkey_cmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ht/ft_inter_htkey_cmp.c')
-rw-r--r--src/ht/ft_inter_htkey_cmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ht/ft_inter_htkey_cmp.c b/src/ht/ft_inter_htkey_cmp.c
index 397177e..e8a0375 100644
--- a/src/ht/ft_inter_htkey_cmp.c
+++ b/src/ht/ft_inter_htkey_cmp.c
@@ -21,5 +21,5 @@ int ft_inter_htkey_cmp(const void *ref_key, const void *content)
{
if (ref_key == NULL || content == NULL)
return (-1);
- return (ft_strcmp((char*)ref_key, ((t_ftht_content*)content)->key));
+ return (ft_strcmp((char*)ref_key, ((t_ftht_entry*)content)->key));
}