summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/harfbuzz/src/harfbuzz-thai.c
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-05-07 12:01:46 +0200
committerSergio Ahumada <sergio.ahumada@digia.com>2013-05-07 12:02:41 +0200
commitdb44b891fb8710121fec7dc4fa3bd91493dc2a1c (patch)
treef6729181387ac4a4e4fa2dad445febebba25812b /src/3rdparty/harfbuzz/src/harfbuzz-thai.c
parentc917579a15d60a7b70c5fc5f00f6451da7c4e608 (diff)
parent95045168470f8865263145b86597b6641b4cc035 (diff)
Merge branch 'stable' into dev
Diffstat (limited to 'src/3rdparty/harfbuzz/src/harfbuzz-thai.c')
-rw-r--r--src/3rdparty/harfbuzz/src/harfbuzz-thai.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-thai.c b/src/3rdparty/harfbuzz/src/harfbuzz-thai.c
index d8f7d44887..e351dbfd49 100644
--- a/src/3rdparty/harfbuzz/src/harfbuzz-thai.c
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-thai.c
@@ -261,7 +261,7 @@ static HB_Bool HB_ThaiConvertStringToGlyphIndices (HB_ShaperItem *item)
for (int lgi = 0; lgi < lgn; lgi++) {
if ( rglyphs[lgi] == 0xdd/*TH_BLANK_BASE_GLYPH*/ ) {
glyphString[slen++] = C_DOTTED_CIRCLE;
- } else if (cstr[i] == (signed char)~0) {
+ } else if ((unsigned char)cstr[i] == (unsigned char)~0) {
// The only glyphs that should be passed to this function that cannot be mapped to
// tis620 are the ones of type Inherited class. Pass these glyphs untouched.
glyphString[slen++] = string[i];