From: Jean-Marc Lasgouttes Date: Sun, 17 Mar 2019 13:28:22 +0000 (+0100) Subject: Fix MSVC warning X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=de9d2c780d51f72b655f4544a028ef96c45be25e;p=features.git Fix MSVC warning --- diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index a060874aab..718b1a9aea 100644 --- a/src/RowPainter.cpp +++ b/src/RowPainter.cpp @@ -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); }