From 729755bcb60695221cb368202822fc3181197ef7 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Mon, 22 Oct 2018 04:01:42 +0000 Subject: [PATCH] cast types to support new poppler git-svn-id: svn://tug.org/texlive/trunk/Build/source@48969 c570f23f-e606-0410-a88d-b1316a301751 --- texk/web2c/xetexdir/ChangeLog | 4 ++++ texk/web2c/xetexdir/pdfimage.cpp | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/texk/web2c/xetexdir/pdfimage.cpp b/texk/web2c/xetexdir/pdfimage.cpp index fc3e32693..8a38f1ee5 100644 --- a/texk/web2c/xetexdir/pdfimage.cpp +++ b/texk/web2c/xetexdir/pdfimage.cpp @@ -82,19 +82,19 @@ pdf_get_rect(char* filename, int page_num, int pdf_box, realrect* box) switch (pdf_box) { default: case pdfbox_crop: - r = page->getCropBox(); + r = (PDFRectangle *)page->getCropBox(); break; case pdfbox_media: - r = page->getMediaBox(); + r = (PDFRectangle *)page->getMediaBox(); break; case pdfbox_bleed: - r = page->getBleedBox(); + r = (PDFRectangle *)page->getBleedBox(); break; case pdfbox_trim: - r = page->getTrimBox(); + r = (PDFRectangle *)page->getTrimBox(); break; case pdfbox_art: - r = page->getArtBox(); + r = (PDFRectangle *)page->getArtBox(); break; }