Fix build when building without SDL

Commit f2590c24df was incomplete and thus
LMMS failed to build when building without SDL support.
This commit is contained in:
Tobias Doerffel
2014-01-18 11:39:58 +01:00
parent b10a254d12
commit 9748897a43
2 changed files with 3 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ public:
protected:
virtual void sendByte( const Uint8 )
virtual void sendByte( const unsigned char )
{
}

View File

@@ -360,7 +360,7 @@ Mixer::Mixer() :
m_workingBuf = (sampleFrame*) aligned_malloc( m_framesPerPeriod *
sizeof( sampleFrame ) );
for( Uint8 i = 0; i < 3; i++ )
for( int i = 0; i < 3; i++ )
{
m_readBuf = (surroundSampleFrame*)
aligned_malloc( m_framesPerPeriod *
@@ -412,7 +412,7 @@ Mixer::~Mixer()
delete m_audioDev;
delete m_midiClient;
for( Uint8 i = 0; i < 3; i++ )
for( int i = 0; i < 3; i++ )
{
aligned_free( m_bufferPool[i] );
}