diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-06-19 11:43:52 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-06-19 11:43:52 +0000 |
commit | dfa496b51809b9404ee4f2dde02291745837b53f (patch) | |
tree | 5d9bd3bd74d348164f50b2ed9a5878fcfac8b743 /Build/source/texk/web2c/luatexdir/pdf/pdfgen.w | |
parent | e5b8a1a0369901d3d73384cf553619d9351679aa (diff) |
pdfTeX, LuaTeX: Avoid undefined behaviour when char is signed
git-svn-id: svn://tug.org/texlive/trunk@34311 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/pdf/pdfgen.w')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/pdf/pdfgen.w | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w b/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w index 0f312f2c781..78873c7b5d5 100644 --- a/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w +++ b/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w @@ -616,7 +616,7 @@ void pdf_print_str(PDF pdf, const char *s) return; } s++; - while (is_hex_char(*s)) + while (is_hex_char((unsigned char)*s)) s++; if (s != orig + l) { pdf_out(pdf, '('); |