summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/epdf.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-06-21 10:44:58 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-06-21 10:44:58 +0000
commit4e850024741afa0c993d267a6d2c1ff0af2f6609 (patch)
tree6becd0257ca15dcd625a7d581f4a672182d1eb5c /Build/source/texk/dvipdfm-x/epdf.c
parent784b0639f1700bdc841a68ad8174806494db3c2f (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/epdf.c')
-rw-r--r--Build/source/texk/dvipdfm-x/epdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/epdf.c b/Build/source/texk/dvipdfm-x/epdf.c
index 4c9bbfc4105..4aae4ee9ece 100644
--- a/Build/source/texk/dvipdfm-x/epdf.c
+++ b/Build/source/texk/dvipdfm-x/epdf.c
@@ -675,7 +675,7 @@ pdf_copy_clip (FILE *image_file, int pageNo, double x_user, double y_user)
} else if (*clip_path == '-'
|| *clip_path == '+'
|| *clip_path == '.'
- || isdigit(*clip_path)) {
+ || isdigit((unsigned char)*clip_path)) {
stack[++top] = strtod(clip_path, &temp);
clip_path = temp;
} else if (*clip_path == '[') {