fixed compiler warnings

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1704 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-09-24 09:08:15 +00:00
parent f747e7af9c
commit b83b56fdf5
5 changed files with 6 additions and 6 deletions

View File

@@ -710,8 +710,8 @@ void sampleBuffer::visualize( QPainter & _p, const QRect & _dr,
for( int frame = 0; frame < m_frames; frame += fpp )
{
l[n] = QPoint( xb + ( frame * w / m_frames ),
yb - ( ( m_data[frame][0]+m_data[frame][1] ) *
y_space ) );
(int)( yb - ( ( m_data[frame][0]+m_data[frame][1] ) *
y_space ) ) );
++n;
}
_p.drawPolyline( l, m_frames / fpp );