summaryrefslogtreecommitdiff
path: root/src/harfbuzz-myanmar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/harfbuzz-myanmar.c')
-rw-r--r--src/harfbuzz-myanmar.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/harfbuzz-myanmar.c b/src/harfbuzz-myanmar.c
index 8d92166..3d76f0a 100644
--- a/src/harfbuzz-myanmar.c
+++ b/src/harfbuzz-myanmar.c
@@ -332,7 +332,7 @@ static HB_Bool myanmar_shape_syllable(HB_Bool openType, HB_ShaperItem *item, HB_
/* copy the rest of the syllable to the output, inserting the kinzi
at the correct place */
for (i = 0; i < (int)item->item.length; ++i) {
- uint16_t chr = uc[i];
+ hb_uint16 chr = uc[i];
MymrCharClass cc;
if (i == vowel_e)
continue;
@@ -411,7 +411,7 @@ static HB_Bool myanmar_shape_syllable(HB_Bool openType, HB_ShaperItem *item, HB_
#ifndef NO_OPENTYPE
if (openType) {
unsigned short logClusters[32];
- uint32_t where[32];
+ hb_uint32 where[32];
for (i = 0; i < len; ++i)
logClusters[i] = i;
@@ -498,15 +498,15 @@ HB_Bool HB_MyanmarShape(HB_ShaperItem *item)
return TRUE;
}
-void HB_MyanmarAttributes(HB_Script script, const HB_UChar16 *text, uint32_t from, uint32_t len, HB_CharAttributes *attributes)
+void HB_MyanmarAttributes(HB_Script script, const HB_UChar16 *text, hb_uint32 from, hb_uint32 len, HB_CharAttributes *attributes)
{
int end = from + len;
const HB_UChar16 *uc = text + from;
- uint32_t i = 0;
+ hb_uint32 i = 0;
attributes += from;
while (i < len) {
HB_Bool invalid;
- uint32_t boundary = myanmar_nextSyllableBoundary(text, from+i, end, &invalid) - from;
+ hb_uint32 boundary = myanmar_nextSyllableBoundary(text, from+i, end, &invalid) - from;
attributes[i].charStop = TRUE;
if (from || i)