From: Holger Schemel Date: Wed, 18 Nov 2020 18:21:18 +0000 (+0100) Subject: fixed compiler warning with GCC 9 X-Git-Tag: 4.2.0.5~13 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=6d495646d46cfe6b59eb8784dcfbc9bb1101ed1e fixed compiler warning with GCC 9 --- 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];