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:
Tobias Doerffel
2009-03-15 16:28:13 +01:00
parent 49ffdcd5bc
commit ec07aef5ac
28 changed files with 145 additions and 142 deletions

View File

@@ -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 );
}