shithub: choc

Download patch

ref: 26e758810fdd18c19a3d2fab2aa33a8ff029958e
parent: 1ec2d4d8622f923b8008ddc7f1bd46b0757f331e
author: Turo Lamminen <[email protected]>
date: Sat Mar 31 11:08:09 EDT 2018

pcsound: Make pcsound_driver_s name member const

--- a/pcsound/pcsound_internal.h
+++ b/pcsound/pcsound_internal.h
@@ -28,7 +28,7 @@
 
 struct pcsound_driver_s
 {
-    char *name;
+    const char *name;
     pcsound_init_func init_func;
     pcsound_shutdown_func shutdown_func;
 };