summaryrefslogtreecommitdiff
path: root/src/text/glyph_store.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/text/glyph_store.cpp')
-rw-r--r--src/text/glyph_store.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text/glyph_store.cpp b/src/text/glyph_store.cpp
index c32e1642e5..09f2fbc7b3 100644
--- a/src/text/glyph_store.cpp
+++ b/src/text/glyph_store.cpp
@@ -132,7 +132,7 @@ void FontStack::lineWrap(Shaping &shaping, const float lineHeight, const float m
maxLineLength = maxLineLength || shaping.back().x;
- justifyLine(shaping, metrics, lineStartIndex, shaping.size() - 1, justify);
+ justifyLine(shaping, metrics, lineStartIndex, uint32_t(shaping.size()) - 1, justify);
align(shaping, justify, horizontalAlign, verticalAlign, maxLineLength, lineHeight, line);
}