Mercurial > hg > openttd
changeset 2894:dbb8b26c7c8d draft
(svn r3448) - Fix: wrap up some MinGW warnings
author | Darkvater <Darkvater@openttd.org> |
---|---|
date | Thu, 26 Jan 2006 22:09:25 +0000 |
parents | 446b22d5d162 |
children | ed5ede8a9721 |
files | music/dmusic.cpp stdafx.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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; }
--- 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)