summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2018-10-22 04:01:42 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2018-10-22 04:01:42 +0000
commit0d21d35241eb6d32946be5d40862a6cc5848f14b (patch)
treee464f0f77922bf6928d92b6da37c540a3ed7236a /Build/source/texk
parenta40a5616274c006645a1e6fc8d94258aadc2788a (diff)
cast types to support new poppler
git-svn-id: svn://tug.org/texlive/trunk@48969 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/web2c/xetexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/xetexdir/pdfimage.cpp10
2 files changed, 9 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog
index 6c580d9f426..dfb445bda64 100644
--- a/Build/source/texk/web2c/xetexdir/ChangeLog
+++ b/Build/source/texk/web2c/xetexdir/ChangeLog
@@ -1,3 +1,7 @@
+2018-10-22 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * pdfimage.cpp: Cast types to support poppler 0.70.0.
+
2018-09-09 Karl Berry <karl@tug.org>
* xetex-bug73.test: LC_ALL=LANGUAGE=C.
diff --git a/Build/source/texk/web2c/xetexdir/pdfimage.cpp b/Build/source/texk/web2c/xetexdir/pdfimage.cpp
index fc3e3269340..8a38f1ee55b 100644
--- a/Build/source/texk/web2c/xetexdir/pdfimage.cpp
+++ b/Build/source/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;
}