From 6d495646d46cfe6b59eb8784dcfbc9bb1101ed1e Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 18 Nov 2020 19:21:18 +0100 Subject: [PATCH] fixed compiler warning with GCC 9 --- src/screens.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens.c b/src/screens.c index 6838dc95..d9909a2d 100644 --- a/src/screens.c +++ b/src/screens.c @@ -7547,7 +7547,7 @@ static boolean ConfigureJoystickMapButtonsAndAxes(SDL_Joystick *joystick) Event event; int alpha = 200, alpha_step = -1; int alpha_ticks = 0; - char mapping[4096], temp[4096]; + char mapping[4096], temp[256]; int font_name = MENU_SETUP_FONT_TITLE; int font_info = MENU_SETUP_FONT_TEXT; int spacing_name = menu.line_spacing_setup[SETUP_MODE_INPUT]; -- 2.34.1