foxygit / doom Log in
commit 3413c2cd37dc52e2f1e1caabdf380c4dc8752180
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat May 26 16:25:44 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Sat May 26 16:25:44 2018 +0300

    sound: Make musicinfo_t name member const
---
 src/i_sound.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/i_sound.h b/src/i_sound.h
index 7aa0cdd6..30580626 100644
--- a/src/i_sound.h
+++ b/src/i_sound.h
@@ -74,7 +74,7 @@ struct sfxinfo_struct
 typedef struct
 {
     // up to 6-character name
-    char *name;
+    const char *name;

     // lump number of music
     int lumpnum;