summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfmx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-27 21:43:06 +0000
committerKarl Berry <karl@freefriends.org>2010-05-27 21:43:06 +0000
commitb0cc9793f4fdfb588b8f1f21a8952a895245159a (patch)
tree25abf0e913fdc63bcb8b9c23cf4b58667401ceb0 /Build/source/texk/dvipdfmx
parent92638e8f97fbe978aa703693188bab0c0883b09e (diff)
%hhu not %hu for Solaris 9, report from Ulrich Seidl, change already made upstream
git-svn-id: svn://tug.org/texlive/trunk@18536 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfmx')
-rw-r--r--Build/source/texk/dvipdfmx/src/dpxfile.c2
-rw-r--r--Build/source/texk/dvipdfmx/src/pdfobj.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/dvipdfmx/src/dpxfile.c b/Build/source/texk/dvipdfmx/src/dpxfile.c
index 5e5439fc4ef..24ab7106e7c 100644
--- a/Build/source/texk/dvipdfmx/src/dpxfile.c
+++ b/Build/source/texk/dvipdfmx/src/dpxfile.c
@@ -726,7 +726,7 @@ if ((l) + (n) >= (m)) { \
}
case 'v': /* Version number, e.g. 1.4 */ {
char buf[6];
- sprintf(buf, "1.%hhu", version);
+ sprintf(buf, "1.%hu", version);
need(cmd, n, size, strlen(buf));
strcpy(cmd + n, buf); n += strlen(buf);
break;
diff --git a/Build/source/texk/dvipdfmx/src/pdfobj.c b/Build/source/texk/dvipdfmx/src/pdfobj.c
index 8a340352f4b..cb8145f3e84 100644
--- a/Build/source/texk/dvipdfmx/src/pdfobj.c
+++ b/Build/source/texk/dvipdfmx/src/pdfobj.c
@@ -2963,7 +2963,7 @@ pdf_open (const char *ident, FILE *file)
unsigned char minor;
if (!PDF_OBJ_NAMETYPE(new_version) ||
- sscanf(pdf_name_value(new_version), "1.%hhu", &minor) != 1) {
+ sscanf(pdf_name_value(new_version), "1.%hu", &minor) != 1) {
pdf_release_obj(new_version);
WARN("Illegal Version entry in document catalog. Broken PDF file?");
goto error;
@@ -3008,7 +3008,7 @@ check_for_pdf_version (FILE *file)
rewind(file);
return (ungetc(fgetc(file), file) == '%' &&
- fscanf(file, "%%PDF-1.%hhu", &minor) == 1) ? minor : -1;
+ fscanf(file, "%%PDF-1.%hu", &minor) == 1) ? minor : -1;
}
int