Fix "don't know how to cast array" error.

This can happen when compiling HL with `analyzer-optimize`.
This commit is contained in:
Timur
2024-01-10 19:45:06 +10:00
committed by Josh Tynjala
parent f0aae1f8f2
commit c58013c5e6

View File

@@ -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