r20109 by avox - try again to resolve build errors on some systems
scribus-commit
scribus-commit at lists.scribus.net
Wed May 20 19:15:13 UTC 2015
Author: avox
Date: Wed May 20 19:15:13 2015
New Revision: 20109
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20109
Log:
try again to resolve build errors on some systems
Modified:
trunk/Scribus/scribus/pdflib_core.cpp
Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20109&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Wed May 20 19:15:13 2015
@@ -10052,7 +10052,7 @@
#endif
if (mbuffer[mlen-1] == '\n')
--mlen;
- PutDoc("\n/Length " + Pdf::toPdf(mlen));
+ PutDoc("\n/Length " + Pdf::toPdf(static_cast<qlonglong>(mlen)));
nextObj = contents->GetIndirectKey("Filter");
if (nextObj)
{
@@ -10194,7 +10194,7 @@
mbuffer = outMemStream.TakeBuffer();
// if (mbuffer[mlen-1] == '\n')
// --mlen;
- PutDoc("\n/Length " + Pdf::toPdf(mlen));
+ PutDoc("\n/Length " + Pdf::toPdf(static_cast<qlonglong>(mlen)));
/*
nextObj = contents->GetIndirectKey("Filter");
if (nextObj)
More information about the scribus-commit
mailing list