summaryrefslogtreecommitdiff
path: root/src/mbgl/text/glyph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/text/glyph.cpp')
-rw-r--r--src/mbgl/text/glyph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/text/glyph.cpp b/src/mbgl/text/glyph.cpp
index a877d7a799..29929b73e6 100644
--- a/src/mbgl/text/glyph.cpp
+++ b/src/mbgl/text/glyph.cpp
@@ -3,7 +3,7 @@
namespace mbgl {
// Note: this only works for the BMP
-GlyphRange getGlyphRange(char32_t glyph) {
+GlyphRange getGlyphRange(char16_t glyph) {
unsigned start = (glyph/256) * 256;
unsigned end = (start + 255);
if (start > 65280) start = 65280;