From 2b9cf56a7279b00af540ba193f28c8be2c51915f Mon Sep 17 00:00:00 2001 From: ormorph Date: Thu, 2 Mar 2023 23:17:45 +0300 Subject: Added build fix for with new version of libpaper Signed-off-by: ormorph --- filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp b/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp index be2569d3..e4c3e3b5 100644 --- a/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp +++ b/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp @@ -146,7 +146,7 @@ GlobalParams::GlobalParams(const char *cfgFileName) { displayCIDFonts = new GHash(); displayNamedCIDFonts = new GHash(); #ifdef HAVE_PAPER_H - char *paperName; + const char *paperName; const struct paper *paperType; paperinit(); if ((paperName = systempapername())) { -- cgit v1.2.1