mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
fixed portmidi Visual Studio warnings (nw)
This commit is contained in:
parent
6034e2bceb
commit
747289faf7
@ -8,7 +8,7 @@
|
||||
#include "pmutil.h"
|
||||
#include "pminternal.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) || defined(_MSC_VER)
|
||||
#define bzero(addr, siz) memset(addr, 0, siz)
|
||||
#endif
|
||||
|
||||
|
@ -207,7 +207,7 @@ static void pm_winmm_mapper_input(void)
|
||||
sizeof(MIDIINCAPS));
|
||||
if (wRtn == MMSYSERR_NOERROR) {
|
||||
pm_add_device((char *)"MMSystem", midi_in_mapper_caps.szPname, TRUE,
|
||||
(void *) MIDIMAPPER, &pm_winmm_in_dictionary);
|
||||
(void *)(FPTR)MIDIMAPPER, &pm_winmm_in_dictionary);
|
||||
}
|
||||
}
|
||||
|
||||
@ -246,7 +246,7 @@ static void pm_winmm_mapper_output(void)
|
||||
& midi_out_mapper_caps, sizeof(MIDIOUTCAPS));
|
||||
if (wRtn == MMSYSERR_NOERROR) {
|
||||
pm_add_device((char *)"MMSystem", midi_out_mapper_caps.szPname, FALSE,
|
||||
(void *) MIDIMAPPER, &pm_winmm_out_dictionary);
|
||||
(void *)(FPTR)MIDIMAPPER, &pm_winmm_out_dictionary);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user