SDL: audio/winmm/SDL_winmm.c (SetMMerror): constify.

From be7b663c2cee462653f691b1eb623965915462e8 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sun, 14 Nov 2021 02:30:56 +0300
Subject: [PATCH] audio/winmm/SDL_winmm.c (SetMMerror): constify.

---
 src/audio/winmm/SDL_winmm.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/audio/winmm/SDL_winmm.c b/src/audio/winmm/SDL_winmm.c
index 8e0685d04d..ad796de8b1 100644
--- a/src/audio/winmm/SDL_winmm.c
+++ b/src/audio/winmm/SDL_winmm.c
@@ -135,7 +135,7 @@ FillSound(HWAVEOUT hwo, UINT uMsg, DWORD_PTR dwInstance,
 }
 
 static int
-SetMMerror(char *function, MMRESULT code)
+SetMMerror(const char *function, MMRESULT code)
 {
     int len;
     char errbuf[MAXERRORLENGTH];
@@ -434,7 +434,6 @@ WINMM_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
     return 0;                   /* Ready to go! */
 }
 
-
 static int
 WINMM_Init(SDL_AudioDriverImpl * impl)
 {