Fix MSVC warning

This commit is contained in:
Jean-Marc Lasgouttes 2019-03-17 14:28:22 +01:00
parent bdf3924fc7
commit 9a15d35443

View File

@ -432,7 +432,7 @@ void RowPainter::paintLabel() const
int const x = row_.isRTL() ? row_.width() + fm.width(layout.labelsep)
: row_.left_margin - fm.width(layout.labelsep) - fm.width(str);
pi_.pain.text(xo_ + x, yo_, str, font);
pi_.pain.text(int(xo_) + x, yo_, str, font);
}