[MPlayer-dev-eng] Better 64bit format strings

Joey Parrish joey at nicewarrior.org
Wed Oct 12 15:34:58 CEST 2005


On Wed, Oct 12, 2005 at 03:06:36PM +0200, Nico Sabbi wrote:
> Reimar Döffinger wrote:
> >the attached patch makes MPlayer use the (in inttypes.h defined) PRI?64
> >format strings instead of the less portable ll? ones.
> >Also simplifies the code by removing some #ifdef _LARGEFILE_SOURCE.
> >Tested (though not thoroughly) on linux 32bit, linux 64bit and MinGW. 
> >Please test!

> does %"PRIu64"  work properly in mingw32 and cygwin?

Yes.  PRI?64 all work on both cygwin and mingw.  I use both frequently
for my job, and we do all file offsets and many other identifiers using
uint64_t.

--Joey

-- 
"I tell you:  one must still have chaos in oneself to give
birth to a dancing star!" --Nietzsche




More information about the MPlayer-dev-eng mailing list