Fix Visual C++ warnning

This commit is contained in:
Jean-Marc Lasgouttes 2019-02-11 10:43:59 +01:00
parent 4162ed151c
commit 2215f4c2b4

View File

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