aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_events.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;