shithub: choc

Download patch

ref: 0ad55d18f3275b0bf32ffad90198e300f7c005b9
parent: 5a7cb09524ad939936d8788dc5dfe9944bdcee03
author: Turo Lamminen <[email protected]>
date: Tue Jan 22 14:16:27 EST 2019

setup: Make known_joystick_t name member const

--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -39,7 +39,7 @@
 
 typedef struct
 {
-    char *name;
+    const char *name;
     int axes, buttons, hats;
     const joystick_config_t *configs;
 } known_joystick_t;