On Fri, 2015-09-11 at 09:39 +0200, Sylvestre Gallon wrote:
> I finally solved the problem with this diff :
> 
> http://junk.wootsi.com/patch-podofo-ppc-xref.diff

        Hi,
please do attach patches here, rather than on random sites which can
remove the patch in the future.

> Podofo seems to print the Xref (long long int) with a %li (needed for
> long int), on little endian all goes well but when we cast a long
> long as a long we got the least significant data, but on big endian
> this is not the same.

That's a good catch, though rather than changing it to %lli, better to
use PDF_FORMAT_UINT64 define from PdfCompilerCompat.h, to also cover
64bit versus 32bit architectures, not only little/big endians. (Notice
the GetOffset() returns unsigned 64bit integer, not signed.)

Would you mind to test and resend the patch using that define, please?

        Thanks and bye,
        zyx

-- 
http://www.litePDF.cz                                 [email protected]



------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to