War on -Werror, part 13: hodgehodge.

This commit is contained in:
Jason Felds
2012-12-27 12:07:02 -05:00
parent 1fc16698ba
commit 52df8ea981
14 changed files with 35 additions and 23 deletions
+1 -1
View File
@@ -667,7 +667,7 @@ int RageSoundReader_Resample_Good::Read( float *pBuf, int iFrames )
{
int iFramesNeeded = m_apResamplers[0]->NumInputsForOutputSamples(iFrames);
float *pTmpBuf = (float *) alloca( iFramesNeeded * sizeof(float) * iChannels );
ASSERT( pTmpBuf );
ASSERT( pTmpBuf != NULL );
int iFramesIn = m_pSource->Read( pTmpBuf, iFramesNeeded );
if( iFramesIn < 0 )
return iFramesIn;