aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ft_sort_s_t.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_sort_s_t.c b/src/ft_sort_s_t.c
index 0f14d35..8b70fe5 100644
--- a/src/ft_sort_s_t.c
+++ b/src/ft_sort_s_t.c
@@ -51,6 +51,7 @@ static void
{
float tmp_i[4096];
+ ft_bzero(tmp_i, 4096);
ft_memcpy(tmp_i, dist_tab[i], 4096);
ft_memcpy(dist_tab[i], dist_tab[i + 1], 4096);
ft_memcpy(dist_tab[i + 1], tmp_i, 4096);