summaryrefslogtreecommitdiffstats
path: root/src/SMFWriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMFWriter.cpp')
-rw-r--r--src/SMFWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMFWriter.cpp b/src/SMFWriter.cpp
index 1b69e4e..b339b46 100644
--- a/src/SMFWriter.cpp
+++ b/src/SMFWriter.cpp
@@ -216,7 +216,7 @@ SMFWriter::write_footer()
void
-SMFWriter::write_chunk_header(char id[4], uint32_t length)
+SMFWriter::write_chunk_header(const char id[4], uint32_t length)
{
const uint32_t length_be = GUINT32_TO_BE(length);
@@ -226,7 +226,7 @@ SMFWriter::write_chunk_header(char id[4], uint32_t length)
void
-SMFWriter::write_chunk(char id[4], uint32_t length, void* data)
+SMFWriter::write_chunk(const char id[4], uint32_t length, void* data)
{
write_chunk_header(id, length);