diff --git a/src/lime/text/Font.hx b/src/lime/text/Font.hx index 30681e3d7..2d273fb1a 100644 --- a/src/lime/text/Font.hx +++ b/src/lime/text/Font.hx @@ -189,7 +189,7 @@ class Font { #if (lime_cffi && !macro) var glyphs:Dynamic = NativeCFFI.lime_font_get_glyph_indices(src, characters); - return glyphs; + return cast glyphs; #else return null; #end