From: Toby Smithe Subject: qreal is float on arm, not double --- mscore/mscore/barline.cpp | 8 ++++---- mscore/mscore/beam.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) --- a/mscore/mscore/barline.cpp +++ b/mscore/mscore/barline.cpp @@ -96,7 +96,7 @@ { double lw = point(score()->styleS(ST_barWidth)); double y1, y2; - getY(&y1, &y2); + getY((double*)&y1, (double*)&y2); QPen pen(p.pen()); pen.setWidthF(lw); @@ -346,7 +346,7 @@ *grips = 1; double lw = point(score()->styleS(ST_barWidth)); double y1, y2; - getY(&y1, &y2); + getY((double*)&y1, (double*)&y2); grip[0].translate(QPointF(lw * .5, y2) + canvasPos()); } @@ -393,7 +393,7 @@ void BarLine::endEditDrag() { double y1, h2; - getY(&y1, &h2); + getY((double*)&y1, (double*)&h2); yoff = 0.0; double ay1 = canvasPos().y(); double ay2 = ay1 + h2; @@ -449,7 +449,7 @@ _span = staff() ? staff()->barLineSpan() : 1; double y1, y2; - getY(&y1, &y2); + getY((double*)&y1, (double*)&y2); Spatium w = score()->styleS(ST_barWidth); double dw = 0.0; --- a/mscore/mscore/beam.cpp +++ b/mscore/mscore/beam.cpp @@ -786,7 +786,7 @@ double x2 = npos.x(); double y1 = npos.y(); - double y = _up ? qMin(qreal(p1dy), _p1[idx].y()) : qMax(p1dy, _p1[idx].y()); + double y = _up ? qMin(qreal(p1dy), _p1[idx].y()) : qMax(qreal(p1dy), _p1[idx].y()); double y2 = y + (x2 - x1) * slope + cp.y(); double stemLen = _up ? (y1 - y2) : (y2 - y1);