diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2006-12-09 14:53:25 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2006-12-09 14:53:25 +0000 |
commit | 70ea305a4057b0228c6be7678b72cff60df694c3 (patch) | |
tree | b943e81a2e9772f48e7e7e107c1605eda1799468 /Build | |
parent | 505d3208d7cab78f3526c81018325bc3e531fd79 (diff) |
typecast needed for systems with 2-byte wchar_t
git-svn-id: svn://tug.org/texlive/trunk@2655 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/XeTeXLayoutInterface.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeXLayoutInterface.cpp b/Build/source/texk/web2c/xetexdir/XeTeXLayoutInterface.cpp index f0f714568ea..a591d7a05a4 100644 --- a/Build/source/texk/web2c/xetexdir/XeTeXLayoutInterface.cpp +++ b/Build/source/texk/web2c/xetexdir/XeTeXLayoutInterface.cpp @@ -364,7 +364,8 @@ SInt32 layoutChars(XeTeXLayoutEngine engine, UInt16 chars[], SInt32 offset, SInt char rightToLeft, float x, float y, SInt32* status) { LEErrorCode success = (LEErrorCode)*status; - le_int32 glyphCount = engine->layoutEngine->layoutChars(chars, offset, count, max, rightToLeft, x, y, success); + le_int32 glyphCount = engine->layoutEngine->layoutChars((const LEUnicode*)chars, + offset, count, max, rightToLeft, x, y, success); *status = success; return glyphCount; } |