From 1ec2d4d8622f923b8008ddc7f1bd46b0757f331e Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Sat, 31 Mar 2018 15:05:26 +0300 Subject: [PATCH] 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 452b8e3d68..c67dbff499 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;