summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-06-19 11:43:52 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-06-19 11:43:52 +0000
commitdfa496b51809b9404ee4f2dde02291745837b53f (patch)
tree5d9bd3bd74d348164f50b2ed9a5878fcfac8b743 /Build/source/texk/web2c/luatexdir/pdf/pdfgen.w
parente5b8a1a0369901d3d73384cf553619d9351679aa (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.w2
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, '(');