aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ft_init_map.c2
-rw-r--r--src/ft_key_loop.c2
2 files changed, 1 insertions, 3 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);
diff --git a/src/ft_key_loop.c b/src/ft_key_loop.c
index 9667e34..281c81e 100644
--- a/src/ft_key_loop.c
+++ b/src/ft_key_loop.c
@@ -38,7 +38,5 @@ int
ft_draw_scene(cl);
ft_timings(begin_frame, cl);
ft_get_fps_count(begin_frame, cl);
- /* mlx_mouse_move(cl->wlist.wlx, cl->wlist.winptr, */
- /* cl->wlist.x_size / 2, cl->wlist.y_size / 2); */
return (0);
}