- Fix compilation with MinGW + w32api and clean up warnings.

SVN r2505 (trunk)
This commit is contained in:
Randy Heit 2010-08-11 03:56:31 +00:00
commit 3416a7fc47
9 changed files with 47 additions and 19 deletions

View file

@ -1533,7 +1533,7 @@ static void SetCustomLoopPts(FMOD::Sound *sound)
FMOD_MODE mode;
if (FMOD_OK == (sound->getMode(&mode)))
{
sound->setMode(mode & ~(FMOD_LOOP_OFF | FMOD_LOOP_NORMAL) | FMOD_LOOP_BIDI);
sound->setMode((mode & ~(FMOD_LOOP_OFF | FMOD_LOOP_NORMAL)) | FMOD_LOOP_BIDI);
}
}
}