(svn r3448) - Fix: wrap up some MinGW warnings

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
Darkvater 19 years ago
parent 1a2fac805c
commit a6756ccf21

@ -118,7 +118,7 @@ static void DMusicMidiStop(void)
if (performance != NULL) performance->Stop(NULL, NULL, 0, 0); if (performance != NULL) performance->Stop(NULL, NULL, 0, 0);
if (segment != NULL) { if (segment != NULL) {
segment->SetParam(GUID_Unload, -1, 0, 0, performance); segment->SetParam(GUID_Unload, 0xFFFFFFFF, 0, 0, performance);
segment->Release(); segment->Release();
segment = NULL; segment = NULL;
} }

@ -174,7 +174,7 @@ typedef unsigned char byte;
#endif #endif
// This is already defined in unix // This is already defined in unix
#if !defined(UNIX) && !defined(__CYGWIN__) && !defined(__BEOS__) #if !defined(UNIX) && !defined(__CYGWIN__) && !defined(__BEOS__) && !defined(__MINGW32__)
typedef unsigned int uint; typedef unsigned int uint;
#endif #endif
// Not defined in QNX Neutrino (6.x) // Not defined in QNX Neutrino (6.x)

Loading…
Cancel
Save