aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_map.c
diff options
context:
space:
mode:
authorRudy Bousset <bousset.rudy@gmail.com>2020-05-16 13:57:29 +0200
committerRudy Bousset <bousset.rudy@gmail.com>2020-05-16 13:57:29 +0200
commit1a6c88c012360d1d0187b0ba9cd1964ba757e9b5 (patch)
tree57a9e62de10c429a5dd9076cae6039ce00b13b0f /src/ft_init_map.c
parentCube VM adapted (diff)
download42-cub3d-1a6c88c012360d1d0187b0ba9cd1964ba757e9b5.tar.gz
42-cub3d-1a6c88c012360d1d0187b0ba9cd1964ba757e9b5.tar.bz2
42-cub3d-1a6c88c012360d1d0187b0ba9cd1964ba757e9b5.tar.xz
42-cub3d-1a6c88c012360d1d0187b0ba9cd1964ba757e9b5.tar.zst
42-cub3d-1a6c88c012360d1d0187b0ba9cd1964ba757e9b5.zip
Full normed
Diffstat (limited to 'src/ft_init_map.c')
-rw-r--r--src/ft_init_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_init_map.c b/src/ft_init_map.c
index 07bc8e8..c5c3888 100644
--- a/src/ft_init_map.c
+++ b/src/ft_init_map.c
@@ -64,7 +64,7 @@ int8_t
mlist->nly = 0;
mlist->sprite_var = 0;
mlist->topsp = 0;
- ft_bzero(mlist->sprite_nbr, FT_TOTAL_SPRT * sizeof(int16_t));
+ ft_bzero(mlist->sprite_nbr, (int)FT_TOTAL_SPRT * sizeof(int16_t));
i = -1;
while (++i < FT_TOTAL_SPRT)
ft_bzero(mlist->sprite_order[i], 4096);