diff --git a/src/insets/InsetSpace.cpp b/src/insets/InsetSpace.cpp index 11f3361789..2fddd06919 100644 --- a/src/insets/InsetSpace.cpp +++ b/src/insets/InsetSpace.cpp @@ -69,7 +69,7 @@ void InsetSpace::metrics(MetricsInfo & mi, Dimension & dim) const break; case ENSPACE: case ENSKIP: - dim.wid = 0.5 * fm.width(char_type('M')); + dim.wid = int(0.5 * fm.width(char_type('M'))); break; } // Cache the inset dimension.