Fix "don't know how to cast array" error.
This can happen when compiling HL with `analyzer-optimize`.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user