[coretext] Minor

This commit is contained in:
Behdad Esfahbod 2014-08-10 19:19:38 -04:00
parent 25f4fb9b56
commit 49f7fb6376
1 changed files with 1 additions and 1 deletions

View File

@ -675,7 +675,7 @@ _hb_coretext_shape (hb_shape_plan_t *shape_plan,
for (unsigned int i = 0; i < num_runs; i++)
{
CTRunRef run = (CTRunRef) CFArrayGetValueAtIndex (glyph_runs, i);
CTRunRef run = static_cast<CTRunRef>(CFArrayGetValueAtIndex (glyph_runs, i));
/* CoreText does automatic font fallback (AKA "cascading") for characters
* not supported by the requested font, and provides no way to turn it off,