diff --git a/music/dmusic.cpp b/music/dmusic.cpp index b93acde196..3af6dfc810 100644 --- a/music/dmusic.cpp +++ b/music/dmusic.cpp @@ -118,7 +118,7 @@ static void DMusicMidiStop(void) if (performance != NULL) performance->Stop(NULL, NULL, 0, 0); if (segment != NULL) { - segment->SetParam(GUID_Unload, -1, 0, 0, performance); + segment->SetParam(GUID_Unload, 0xFFFFFFFF, 0, 0, performance); segment->Release(); segment = NULL; } diff --git a/stdafx.h b/stdafx.h index 0589002a67..8f47af4ecb 100644 --- a/stdafx.h +++ b/stdafx.h @@ -174,7 +174,7 @@ typedef unsigned char byte; #endif // 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; #endif // Not defined in QNX Neutrino (6.x)