texlive[48969] Build/source/texk/web2c/xetexdir: cast types to

commits+kakuto at tug.org commits+kakuto at tug.org
Mon Oct 22 06:01:42 CEST 2018


Revision: 48969
          http://tug.org/svn/texlive?view=revision&revision=48969
Author:   kakuto
Date:     2018-10-22 06:01:42 +0200 (Mon, 22 Oct 2018)
Log Message:
-----------
cast types to support new poppler

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/xetexdir/ChangeLog
    trunk/Build/source/texk/web2c/xetexdir/pdfimage.cpp

Modified: trunk/Build/source/texk/web2c/xetexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/xetexdir/ChangeLog	2018-10-22 00:23:05 UTC (rev 48968)
+++ trunk/Build/source/texk/web2c/xetexdir/ChangeLog	2018-10-22 04:01:42 UTC (rev 48969)
@@ -1,3 +1,7 @@
+2018-10-22  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
+
+	* pdfimage.cpp: Cast types to support poppler 0.70.0.
+
 2018-09-09  Karl Berry  <karl at tug.org>
 
 	* xetex-bug73.test: LC_ALL=LANGUAGE=C.

Modified: trunk/Build/source/texk/web2c/xetexdir/pdfimage.cpp
===================================================================
--- trunk/Build/source/texk/web2c/xetexdir/pdfimage.cpp	2018-10-22 00:23:05 UTC (rev 48968)
+++ trunk/Build/source/texk/web2c/xetexdir/pdfimage.cpp	2018-10-22 04:01:42 UTC (rev 48969)
@@ -82,19 +82,19 @@
 	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;
 	}
 



More information about the tex-live-commits mailing list