diff options
Diffstat (limited to 'sci-libs/gdal/files/gdal-2.2.3-goocast.patch')
-rw-r--r-- | sci-libs/gdal/files/gdal-2.2.3-goocast.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-libs/gdal/files/gdal-2.2.3-goocast.patch b/sci-libs/gdal/files/gdal-2.2.3-goocast.patch new file mode 100644 index 000000000000..a25a524c2538 --- /dev/null +++ b/sci-libs/gdal/files/gdal-2.2.3-goocast.patch @@ -0,0 +1,11 @@ +--- a/frmts/pdf/pdfobject.cpp 2018-05-29 11:23:00.980957371 +0300 ++++ b/frmts/pdf/pdfobject.cpp 2018-05-29 11:23:44.378955265 +0300 +@@ -1055,7 +1055,7 @@ + { + if (GetType() == PDFObjectType_String) + { +- GooString* gooString = m_po->getString(); ++ GooString* gooString =(GooString*) m_po->getString(); + return (osStr = GDALPDFGetUTF8StringFromBytes(reinterpret_cast<const GByte*>(gooString->getCString()), + static_cast<int>(gooString->getLength()))); + } |