fixed compilation on x86_64
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1847 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2008-11-22 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* src/core/mixer.cpp:
|
||||
fixed compilation on x86_64
|
||||
|
||||
* src/core/automatable_model.cpp:
|
||||
fixed wrong logic in automatableModel::setValue() which led to bugs when
|
||||
changing linked controls to 0
|
||||
|
||||
@@ -712,7 +712,7 @@ void mixer::bufferToPort( const sampleFrame * _buf,
|
||||
void mixer::clearAudioBuffer( sampleFrame * _ab, const f_cnt_t _frames,
|
||||
const f_cnt_t _offset )
|
||||
{
|
||||
if( likely( (int)( _ab+_offset ) % 16 == 0 && _frames % 8 == 0 ) )
|
||||
if( likely( (size_t)( _ab+_offset ) % 16 == 0 && _frames % 8 == 0 ) )
|
||||
{
|
||||
alignedMemClear( _ab+_offset, sizeof( *_ab ) * _frames );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user