summaryrefslogtreecommitdiff
path: root/src/text
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-08-18 14:05:52 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-08-18 14:05:52 +0200
commit5a59b5f5fcdf3e13e2e3812066719231ae30aef7 (patch)
tree1219206b949e8f73bee5d31812cea7cb8f548801 /src/text
parent2076d3d97bf7cf33aa93285debdfd8181a9c2f33 (diff)
downloadqtlocation-mapboxgl-5a59b5f5fcdf3e13e2e3812066719231ae30aef7.tar.gz
fix warnings
Diffstat (limited to 'src/text')
-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);
}