summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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