diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-06-18 11:35:09 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-06-18 11:35:09 +0000 |
commit | 384d961843d060a692d21c4ea38f266171650f91 (patch) | |
tree | 2520d7244b20189088c89b175ecf403d82ab8040 /Build/source/texk/web2c/pdftexdir | |
parent | c4b4327ea277956f2f6f73fbb9f4fae9fb283128 (diff) |
pdftexdir/ttf2afm: Avoid undefined behaviour when char is signed
git-svn-id: svn://tug.org/texlive/trunk@34280 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ttf2afm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ttf2afm.c b/Build/source/texk/web2c/pdftexdir/ttf2afm.c index 6ca0da90d86..be3d4369449 100644 --- a/Build/source/texk/web2c/pdftexdir/ttf2afm.c +++ b/Build/source/texk/web2c/pdftexdir/ttf2afm.c @@ -808,7 +808,7 @@ static void print_afm(char *date, char *fontname) print_str(Version); /* remove trailing whitespaces from Notice */ if (Notice != NULL) { - for (p = strend(Notice); p > Notice && isspace(*p); p--); + for (p = strend(Notice); p > Notice && isspace((unsigned char)*p); p--); *p = 0; } print_str(Notice); |