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:
1 parent
f747e7af9c
commit
b83b56fdf5
5 files changed
+6
-6
No files matched your search
@@ -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 );
|
||||
|
||||
Reference in new issue
Block a user