mirror of https://github.com/encounter/SDL.git
audio/winmm/SDL_winmm.c (SetMMerror): constify.
This commit is contained in:
parent
e4aa608a5c
commit
be7b663c2c
|
@ -135,7 +135,7 @@ FillSound(HWAVEOUT hwo, UINT uMsg, DWORD_PTR dwInstance,
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
SetMMerror(char *function, MMRESULT code)
|
SetMMerror(const char *function, MMRESULT code)
|
||||||
{
|
{
|
||||||
int len;
|
int len;
|
||||||
char errbuf[MAXERRORLENGTH];
|
char errbuf[MAXERRORLENGTH];
|
||||||
|
@ -434,7 +434,6 @@ WINMM_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
|
||||||
return 0; /* Ready to go! */
|
return 0; /* Ready to go! */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
WINMM_Init(SDL_AudioDriverImpl * impl)
|
WINMM_Init(SDL_AudioDriverImpl * impl)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue