summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/web2c/xetexdir/XeTeXLayoutInterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeXLayoutInterface.cpp b/Build/source/texk/web2c/xetexdir/XeTeXLayoutInterface.cpp
index dcc407165c2..23b78af8b4d 100644
--- a/Build/source/texk/web2c/xetexdir/XeTeXLayoutInterface.cpp
+++ b/Build/source/texk/web2c/xetexdir/XeTeXLayoutInterface.cpp
@@ -440,7 +440,7 @@ long findGraphiteFeatureNamed(XeTeXLayoutEngine engine, const char* name, int na
gr::utf16 label[128];
if (engine->grFont->getFeatureLabel(features.first, 0x409, &label[0])) {
UText* ut1 = utext_openUTF8(NULL, name, namelength, &status);
- UText* ut2 = utext_openUChars(NULL, &label[0], -1, &status);
+ UText* ut2 = utext_openUChars(NULL, (const UChar*)&label[0], -1, &status);
UChar32 ch1 = 0, ch2 = 0;
while (ch1 != U_SENTINEL) {
ch1 = utext_next32(ut1);
@@ -475,7 +475,7 @@ long findGraphiteFeatureSettingNamed(XeTeXLayoutEngine engine, UInt32 feature, c
gr::utf16 label[128];
if (engine->grFont->getFeatureSettingLabel(settings.first, 0x409, &label[0])) {
UText* ut1 = utext_openUTF8(NULL, name, namelength, &status);
- UText* ut2 = utext_openUChars(NULL, &label[0], -1, &status);
+ UText* ut2 = utext_openUChars(NULL, (const UChar*)&label[0], -1, &status);
UChar32 ch1 = 0, ch2 = 0;
while (ch1 != U_SENTINEL) {
ch1 = utext_next32(ut1);