diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_get_sprite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_get_sprite.c b/src/ft_get_sprite.c index b412442..b588df7 100644 --- a/src/ft_get_sprite.c +++ b/src/ft_get_sprite.c @@ -6,7 +6,7 @@ ft_get_sprite(char **words, t_cub *clist) { if (!(*words) || !words[1] || words[2]) return (-1); - ft_memdel(clist->sprite_path); + ft_memdel((void**)&clist->sprite_path); if (!(clist->sprite_path = ft_strdup(*(words + 1)))) return (-1); return (0); |