Hello,

I'm attaching a small portability patch correcting some format strings that 
should use PDF_FORMAT_INT64 or PDF_FORMAT_UINT64 instead of "lu" or "li" when 
the argument is 64 bits wide. Most of them are in debug messages, though not 
all.  These were spotted doing 64 bits builds using Visual Studio 2017 v15.5.4.

Please review and use or adjust to your liking.

There are also a good number of warnings about implicit size casting from 64 
bits to 32 bits. I have yet to review them one by one, when time will permit. 
The usual problem is that most, if not all, are most probably insignificant, 
but you can't never be sure there is not a real issue lying behind one.  Most 
of them come from size_t becoming int or unsigned, for instance strlen() 
returning size_t then used as an unsigned (int). Yet, some are related to 
double / float.

-- 
Best Regards, Meilleures salutations, Met vriendelijke groeten,
Olivier Mascia

Attachment: printf-64bits.patch
Description: Binary data

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to