foxygit / doom Log in
commit 1ec2d4d8622f923b8008ddc7f1bd46b0757f331e
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat Mar 31 15:05:26 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Sat Mar 31 15:08:50 2018 +0300

    opl: Make opl_driver_t name member const
---
 opl/opl_internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opl/opl_internal.h b/opl/opl_internal.h
index 452b8e3d..c67dbff4 100644
--- a/opl/opl_internal.h
+++ b/opl/opl_internal.h
@@ -36,7 +36,7 @@ typedef void (*opl_adjust_callbacks_func)(float value);

 typedef struct
 {
-    char *name;
+    const char *name;

     opl_init_func init_func;
     opl_shutdown_func shutdown_func;