summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/basic/basic-coretext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/basic/basic-coretext.c b/modules/basic/basic-coretext.c
index 4914200e..0e966cd9 100644
--- a/modules/basic/basic-coretext.c
+++ b/modules/basic/basic-coretext.c
@@ -133,7 +133,7 @@ run_iterator_set_current_run (struct RunIterator *iter,
iter->current_cgglyphs = iter->current_cgglyphs_buffer;
}
- iter->current_indices = malloc (sizeof (CFIndex *) * ct_glyph_count);
+ iter->current_indices = malloc (sizeof (CFIndex) * ct_glyph_count);
CTRunGetStringIndices (iter->current_run, CFRangeMake (0, ct_glyph_count),
iter->current_indices);