diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-19 12:35:50 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-19 12:35:50 +0000 |
commit | 1e1dd8ab6c9426f2ddbc3b6ac8cd6eaa52163898 (patch) | |
tree | e442fdf18b3cde473bbd2d7e32332f43065da0e2 /Build/source | |
parent | 0f3bbba2c91d7ace9e54c5c792d26631cd1f47e1 (diff) |
pdfTeX: Use LONGINTEGER_PRI instead of LONGINTEGER_PRId to print file offsets
git-svn-id: svn://tug.org/texlive/trunk@27085 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/writejbig2.c | 4 |
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"); |