source: trunk/dports/tex/texlive-bin/files/patch-svn31126-luatex.diff @ 111792

Last change on this file since 111792 was 111792, checked in by dports@…, 6 years ago

texlive-bin: backport various fixes from upstream (see #39334, and
http://www.tug.org/pipermail/tldistro/2013q3/000218.html)

File size: 974 bytes
  • texk/web2c/luatexdir/pdf/pdfgen.w

    upstream svn31126 fix for luatex
    ---
     texk/web2c/luatexdir/ChangeLog    |    5 +++++
     texk/web2c/luatexdir/pdf/pdfgen.w |    4 ++--
     2 files changed, 7 insertions(+), 2 deletions(-)
    
     
    572572{
    573573    char s[24];
    574574    int w;
    575     w = snprintf(s, 23, "%" LONGINTEGER_PRI "d", n);
     575    w = snprintf(s, 23, "%" LONGINTEGER_PRI "d", (LONGINTEGER_TYPE) n);
    576576    check_nprintf(w, 23);
    577577    pdf_out_block(pdf, (const char *) s, (size_t) w);
    578578}
     
    719719    if (pdf->seek_write_length && pdf->draftmode == 0) {
    720720        xfseeko(pdf->file, (off_t)pdf->stream_length_offset, SEEK_SET,
    721721                pdf->job_name);
    722         fprintf(pdf->file, "%" LONGINTEGER_PRI "i", pdf->stream_length);
     722        fprintf(pdf->file, "%" LONGINTEGER_PRI "i", (LONGINTEGER_TYPE) pdf->stream_length);
    723723        xfseeko(pdf->file, 0, SEEK_END, pdf->job_name);
    724724    }
    725725    pdf->seek_write_length = false;
Note: See TracBrowser for help on using the repository browser.