aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_events.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-02-13 23:12:32 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-02-13 23:12:32 +0100
commit97c08dd3043ee55724bba86c46804fd78a319df6 (patch)
tree3e033363a59ba28cdcc3e449e2e2f455ba1a9605 /src/ft_key_events.c
parentIn progress (diff)
download42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.tar.gz
42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.tar.bz2
42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.tar.xz
42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.tar.zst
42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.zip
Colors
Diffstat (limited to 'src/ft_key_events.c')
-rw-r--r--src/ft_key_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_key_events.c b/src/ft_key_events.c
index a08a534..07c192b 100644
--- a/src/ft_key_events.c
+++ b/src/ft_key_events.c
@@ -62,7 +62,7 @@ int
t_player *pl;
t_map *ml;
int8_t (*fun_ptr[4])(t_cub*);
- const int16_t tmp_code = keycode;
+ const uint16_t tmp_code = keycode;
fun_ptr[0] = ft_w_key;
fun_ptr[1] = ft_a_key;