Fix Visual C++ warning

(cherry picked from commit 2215f4c2b4)
This commit is contained in:
Jean-Marc Lasgouttes 2019-02-11 10:43:59 +01:00
parent 4c18a49c87
commit 96ef3d320b

View File

@ -525,9 +525,9 @@ void RowPainter::paintLast() const
} }
if (endlabel == END_LABEL_BOX) if (endlabel == END_LABEL_BOX)
pi_.pain.rectangle(xo_ + x, y, size, size, Color_eolmarker); pi_.pain.rectangle(int(xo_) + x, y, size, size, Color_eolmarker);
else else
pi_.pain.fillRectangle(xo_ + x, y, size, size, Color_eolmarker); pi_.pain.fillRectangle(int(xo_) + x, y, size, size, Color_eolmarker);
break; break;
} }