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)
|
#if (lime_cffi && !macro)
|
||||||
var glyphs:Dynamic = NativeCFFI.lime_font_get_glyph_indices(src, characters);
|
var glyphs:Dynamic = NativeCFFI.lime_font_get_glyph_indices(src, characters);
|
||||||
return glyphs;
|
return cast glyphs;
|
||||||
#else
|
#else
|
||||||
return null;
|
return null;
|
||||||
#end
|
#end
|
||||||
|
|||||||
Reference in New Issue
Block a user