- Apparently, YASM is not a suitable substitute for NASM when doing Win32 builds.

- Removed extraneous printf parameter for Texman.Init startup message.
- Added newlines to the ends of a few headers that were missing them.
- Fixed more GCC errors/warnings.

SVN r1232 (trunk)
This commit is contained in:
Randy Heit 2008-09-17 20:24:08 +00:00
commit 00b21e4b96
15 changed files with 30 additions and 33 deletions

View file

@ -342,7 +342,10 @@ int S_PickReplacement (int refid)
unsigned int S_GetMSLength(FSoundID sound)
{
if (sound < 0 || sound >= S_sfx.Size()) return 0;
if ((unsigned int)sound >= S_sfx.Size())
{
return 0;
}
sfxinfo_t *sfx = &S_sfx[sound];