foxygit / doom Log in
commit 5b854cdd9214c9c660e56f2494bf2112d1002d1b
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat Mar 31 15:58:02 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Sat Mar 31 15:58:02 2018 +0300

    midifile: Make CheckChunkHeader expected_id parameter const
---
 src/midifile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/midifile.c b/src/midifile.c
index c3fe1d6e..c042b225 100644
--- a/src/midifile.c
+++ b/src/midifile.c
@@ -87,7 +87,7 @@ struct midi_file_s
 // Check the header of a chunk:

 static boolean CheckChunkHeader(chunk_header_t *chunk,
-                                char *expected_id)
+                                const char *expected_id)
 {
     boolean result;