--- mscore-0.9.5.old/mscore/mscore/barline.cpp 2009-08-12 09:28:22.000000000 -0400
+++ mscore-0.9.5/mscore/mscore/barline.cpp 2009-12-22 08:42:39.000000000 -0500
@@ -96,7 +96,7 @@ void BarLine::draw(QPainter& p) const
{
qreal lw = point(score()->styleS(ST_barWidth));
qreal y1, y2;
- getY(&y1, &y2);
+ getY((double*)&y1, (double*)&y2);
QPen pen(p.pen());
pen.setWidthF(lw);
@@ -274,7 +274,7 @@ void BarLine::read(QDomElement e)
QRectF BarLine::bbox() const
{
qreal y1, y2;
- getY(&y1, &y2);
+ getY((double*)&y1, (double*)&y2);
Spatium w = score()->styleS(ST_barWidth);
qreal dw = 0.0;
@@ -366,7 +366,7 @@ void BarLine::updateGrips(int* grips, QR
*grips = 1;
qreal lw = point(score()->styleS(ST_barWidth));
qreal y1, y2;
- getY(&y1, &y2);
+ getY((double*)&y1, (double*)&y2);
grip[0].translate(QPointF(lw * .5, y2) + canvasPos());
}
@@ -413,7 +413,7 @@ void BarLine::editDrag(int, const QPoint
void BarLine::endEditDrag()
{
double y1, h2;
- getY(&y1, &h2);
+ getY((double*)&y1, (double*)&h2);
yoff = 0.0;
qreal ay1 = canvasPos().y();
qreal ay2 = ay1 + h2;