shithub: choc

Download patch

ref: 7d6c1ae035e709bf25e49f5cdcc7bec151eb5018
parent: 2d02bdb9269fad274a163369af27789a72cecb40
author: Turo Lamminen <turol@iki.fi>
date: Sat Aug 28 12:56:14 EDT 2021

opl: Fix const correctness issue in I_OPL_InitMusic

--- a/src/i_oplmusic.c
+++ b/src/i_oplmusic.c
@@ -1715,7 +1715,7 @@
 
 static boolean I_OPL_InitMusic(void)
 {
-    char *dmxoption;
+    const char *dmxoption;
     opl_init_result_t chip_type;
 
     OPL_SetSampleRate(snd_samplerate);