snd_codec.c (S_CodecUtilOpen): fix again after rev.410.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@411 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2011-02-10 18:23:50 +00:00
parent 5407618917
commit dbb81ef781
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ snd_stream_t *S_CodecUtilOpen(const char *filename, snd_codec_t *codec)
/* Try to open the file */ /* Try to open the file */
length = (long) COM_FOpenFile(filename, &handle, NULL); length = (long) COM_FOpenFile(filename, &handle, NULL);
pak = file_from_pak; pak = file_from_pak;
if (length == (size_t)-1) if (length == -1)
{ {
Con_DPrintf("Couldn't open %s\n", filename); Con_DPrintf("Couldn't open %s\n", filename);
return NULL; return NULL;