summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/pdftexdir/writejbig2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/writejbig2.c b/Build/source/texk/web2c/pdftexdir/writejbig2.c
index b3ec8c9c784..ea73c04a0ff 100644
--- a/Build/source/texk/web2c/pdftexdir/writejbig2.c
+++ b/Build/source/texk/web2c/pdftexdir/writejbig2.c
@@ -720,7 +720,7 @@ static void wr_jbig2(FILEINFO * fip, unsigned long page)
pdf_printf("/Height %i\n", pip->height);
pdf_puts("/ColorSpace /DeviceGray\n");
pdf_puts("/BitsPerComponent 1\n");
- pdf_printf("/Length %" LONGINTEGER_PRId "\n",
+ pdf_printf("/Length %" LONGINTEGER_PRI "d\n",
(LONGINTEGER_TYPE) getstreamlen(pip->segments.first, true));
pdf_puts("/Filter [/JBIG2Decode]\n");
if (fip->page0.last != NULL) {
@@ -735,7 +735,7 @@ static void wr_jbig2(FILEINFO * fip, unsigned long page)
pip = find_pageinfo(&(fip->page0), page);
assert(pip != NULL);
pdfbegindict(fip->pdfpage0objnum, 0);
- pdf_printf("/Length %" LONGINTEGER_PRId "\n",
+ pdf_printf("/Length %" LONGINTEGER_PRI "d\n",
(LONGINTEGER_TYPE) getstreamlen(pip->segments.first, false));
}
pdf_puts(">>\n");