foxygit / doom Log in
commit 51da64a39a626a15f73b79d5746fd001007e52bf
Author:     Michael Day <contact@michaelcday.com>
AuthorDate: Mon Mar 20 11:40:19 2023 -0400
Commit:     Michael Day <contact@michaelcday.com>
CommitDate: Tue Mar 21 13:59:22 2023 -0400

    Const correctness
---
 src/i_flmusic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/i_flmusic.c b/src/i_flmusic.c
index 5f709b24..3b607053 100644
--- a/src/i_flmusic.c
+++ b/src/i_flmusic.c
@@ -175,7 +175,7 @@ static void I_FL_StopSong(void)

 // Determine whether memory block is a .mid file

-static boolean IsMid(byte *mem, int len)
+static boolean IsMid(const byte *mem, int len)
 {
     return len > 4 && !memcmp(mem, "MThd", 4);
 }