shithub: choc

Download patch

ref: 5b854cdd9214c9c660e56f2494bf2112d1002d1b
parent: 1c632203cc2226b121d42080298111b7f471434a
author: Turo Lamminen <turotl@gmail.com>
date: Sat Mar 31 11:58:02 EDT 2018

midifile: Make CheckChunkHeader expected_id parameter const

--- a/src/midifile.c
+++ b/src/midifile.c
@@ -87,7 +87,7 @@
 // Check the header of a chunk:
 
 static boolean CheckChunkHeader(chunk_header_t *chunk,
-                                char *expected_id)
+                                const char *expected_id)
 {
     boolean result;