# HG changeset patch # User Darkvater # Date 1138313365 0 # Node ID dbb8b26c7c8d9630c3a0e693121ac5ed9399ba64 # Parent 446b22d5d16264d658ae4f3755ceb2f91980939f (svn r3448) - Fix: wrap up some MinGW warnings diff --git a/music/dmusic.cpp b/music/dmusic.cpp --- a/music/dmusic.cpp +++ b/music/dmusic.cpp @@ -118,7 +118,7 @@ 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 --- a/stdafx.h +++ b/stdafx.h @@ -174,7 +174,7 @@ #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)