summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-05-08 14:19:57 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-05-08 14:19:57 +0000
commitf594ff1e23f49228e961eb00a179cd04b0294019 (patch)
tree34c72c41f7078c7db70d3ab6db34cfc6c2ac1e7c /Build
parentbd2cdc3c7c7996ddc2fee32b8bcf5a7f6d0199ca (diff)
typecast needed on AIX, from Vladimir
git-svn-id: svn://tug.org/texlive/trunk@7943 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-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);