summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/font/writettf.w
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-12-11 07:04:54 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-12-11 07:04:54 +0000
commitec5ae92378df86967a7e3707fc4d8cd1ab5b5234 (patch)
tree23d42b13df6ec3528ec6cf940a98ceea8ea24da2 /Build/source/texk/web2c/luatexdir/font/writettf.w
parented291494d3a3c28dbfd66cf9e160c6bc9b5fe0c0 (diff)
LuaTeX: Recover changes from r34311 (undefined behaviour when char is signed)
git-svn-id: svn://tug.org/texlive/trunk@35786 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/font/writettf.w')
-rw-r--r--Build/source/texk/web2c/luatexdir/font/writettf.w2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/font/writettf.w b/Build/source/texk/web2c/luatexdir/font/writettf.w
index 2cab4b2371c..169e1c20d81 100644
--- a/Build/source/texk/web2c/luatexdir/font/writettf.w
+++ b/Build/source/texk/web2c/luatexdir/font/writettf.w
@@ -622,7 +622,7 @@ static char *strip_spaces_and_delims(char *s, int l)
for (i = 0; i < l; s++, i++) {
if (*s == '(' || *s == ')' || *s == '<' || *s == '>' ||
*s == '[' || *s == ']' || *s == '{' || *s == '}' ||
- *s == '/' || *s == '%' || isspace(*s))
+ *s == '/' || *s == '%' || isspace((unsigned char)*s))
continue;
*p++ = *s;
}