commit 534137a51749296f01c59ba023e74ea4c0bb3503
Author: Uwe Stöhr <[email protected]>
Date:   Sat Jul 2 18:16:03 2016 +0200

    InsetSeparator.cpp:backport a compiler warning fie
    
    ( 45e3a8f8/lyxgit)
---
 src/insets/InsetSeparator.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/insets/InsetSeparator.cpp b/src/insets/InsetSeparator.cpp
index a759f1f..27aeb7c 100644
--- a/src/insets/InsetSeparator.cpp
+++ b/src/insets/InsetSeparator.cpp
@@ -210,7 +210,7 @@ void InsetSeparator::draw(PainterInfo & pi, int x, int y) 
const
                pi.pain.lines(xp, yp, 2, ColorName());
 
                if (params_.kind == InsetSeparatorParams::PARBREAK) {
-                       yp[0] += 0.25 * asc * 0.75;
+                       yp[0] += int(0.25 * asc * 0.75);
                        yp[1] = yp[0];
                        pi.pain.lines(xp, yp, 2, ColorName());
                }

Reply via email to