Fix warnings about shortening 64 bits to 32 bits.

This commit is contained in:
Steve Checkoway
2008-05-10 06:50:57 +00:00
parent f25a63eb8f
commit da1b2d5052
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ private:
float *m_BufferNext; // beginning of the unread data
int m_FramesInBuffer; // total number of frames at m_BufferNext
int64_t m_iPosition; // stream frame of m_BufferNext
sound_block() { m_FramesInBuffer = m_iPosition = 0; m_BufferNext = m_Buffer; }
sound_block() { m_FramesInBuffer = 0; m_iPosition = 0; m_BufferNext = m_Buffer; }
};
struct Sound
@@ -326,7 +326,7 @@ float RageSoundDriver_AU::GetPlayLatency() const
bufferSize += frames;
} while( false );
return bufferSize / sampleRate;
return float( bufferSize / sampleRate );
}