diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-06-21 10:44:58 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-06-21 10:44:58 +0000 |
commit | 4e850024741afa0c993d267a6d2c1ff0af2f6609 (patch) | |
tree | 6becd0257ca15dcd625a7d581f4a672182d1eb5c /Build/source/texk/dvipdfm-x/otl_conf.c | |
parent | 784b0639f1700bdc841a68ad8174806494db3c2f (diff) |
dvipdfm-x: Avoid undefined behaviour when char is signed
git-svn-id: svn://tug.org/texlive/trunk@34344 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/otl_conf.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/otl_conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/otl_conf.c b/Build/source/texk/dvipdfm-x/otl_conf.c index 1cb5a69d4ed..bb1f0f04b30 100644 --- a/Build/source/texk/dvipdfm-x/otl_conf.c +++ b/Build/source/texk/dvipdfm-x/otl_conf.c @@ -367,7 +367,7 @@ parse_block (pdf_obj *gclass, const char **pp, const char *endptr) tmp = NEW(len+1, char); memset(tmp, 0, len+1); for (i = 0; i < len; i++) { - if (!isspace(**pp)) + if (!isspace((unsigned char)**pp)) tmp[i] = **pp; (*pp)++; } |