mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-24 00:43:22 -04:00
Fixed various types to be suffixed with "_t".
This commit ensures that all defined data types in include/lmms_basics.h are
suffxed with "_t" to keep consistency as well as to fix issues on systems
with older STL/libstdc++.
(cherry picked from commit 7449c4f731)
This commit is contained in:
@@ -136,12 +136,12 @@ const automatableModel * automationPattern::firstObject( void ) const
|
||||
//TODO: Improve this
|
||||
midiTime automationPattern::length( void ) const
|
||||
{
|
||||
tick max_length = 0;
|
||||
tick_t max_length = 0;
|
||||
|
||||
for( timeMap::const_iterator it = m_timeMap.begin();
|
||||
it != m_timeMap.end(); ++it )
|
||||
{
|
||||
max_length = qMax<tick>( max_length, it.key() );
|
||||
max_length = qMax<tick_t>( max_length, it.key() );
|
||||
}
|
||||
return midiTime( qMax( midiTime( max_length ).getTact() + 1, 1 ), 0 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user